Пример #1
0
 void Gulp(Player player)
 {
     AudioSource.PlayClipAtPoint(gulpSound, Camera.main.transform.position);
     scoreDisplay.Advance(50);
     player.AttackMode();
     Destroy(gameObject);
 }
Пример #2
0
 void Gulp()
 {
     AudioSource.PlayClipAtPoint(gulpSound, Camera.main.transform.position);
     scoreDisplay.Advance(10);
     Destroy(gameObject);
 }