Esempio n. 1
0
 void OnTriggerEnter(Collider coll)
 {
     if (coll.gameObject.tag == "Player")
     {
         soundmanager.TakeLiveSound();
         managerGame.startPos = transform.position;
         Destroy(gameObject);
     }
 }
 public void LiveTake()
 {
     Live        += 1;
     Livetxt.text = Live.ToString();
     SoundSource.TakeLiveSound();
 }