Esempio n. 1
0
 private void OnCollisionEnter(Collision _collision)
 {
     if (_collision.gameObject.GetComponent <Enemy>() != null && !(_collision.gameObject.GetComponent <Collider>().isTrigger))
     {
         Singleton.ActiveEndGameCanvas();
     }
 }