Beispiel #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.CompareTag("Player"))
     {
         playerScript.LoseLives(2);
     }
 }