Esempio n. 1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         if (UpdateInfo(other.gameObject.GetComponent <Player>()))
         {
             os.DestoryPowerup(gameObject);
         }
     }
 }