Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         playerDeathScript.TriggerDeath();
     }
 }