Ejemplo n.º 1
0
	void Awake(){
		sfx = extraSFX.current;
		asfx = AmbientSFX.current;
		current = this;
		score = 0;
		scoretext.text = "SCORE: " + score;
		gameLost = false;
	}
Ejemplo n.º 2
0
	void Awake () {
		current = this;
		aud = gameObject.GetComponent<AudioSource> ();
		hasplayed = false;
	}