Quantcast
Channel: Questions in topic: "error"
Viewing all articles
Browse latest Browse all 7934

Parsing error CS8205,Parsing Error CS8205

$
0
0
A parsing error occurred when i first ran this script using UnityEngine; using System.Collections; public class Gunshot : MonoBehaviour { public AudioClip Gun; private AudioSource source; void Awake () { source = GetComponent(); } public float timeLeft = 5.0f; public void Update() { timeLeft -= Time.deltaTime; if (timeLeft <= 0.0f) { source.PlayOneShot(Gun,hitVol);

Viewing all articles
Browse latest Browse all 7934

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>