Пример #1
0
 void Start()
 {
     falling = Resources.Load<AudioClip>("_Sounds/Falling");
     aS = GameObject.FindWithTag("Player").GetComponent<AudioSource>();
     heightScoreScript = GetComponent<HeightScore>();
     isDead = false;
 }
Пример #2
0
 void Start()
 {
     heightScoreScript = GetComponent<HeightScore>();
     isDead = false;
 }