Exemplo n.º 1
0
 void Start()
 {
     falling = Resources.Load<AudioClip>("_Sounds/Falling");
     aS = GameObject.FindWithTag("Player").GetComponent<AudioSource>();
     heightScoreScript = GetComponent<HeightScore>();
     isDead = false;
 }
Exemplo n.º 2
0
 void Start()
 {
     heightScoreScript = GetComponent<HeightScore>();
     isDead = false;
 }