Beispiel #1
0
 public void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Player")
     {
         PlayerHealthManager.AddHealth(addHealth);
         Destroy(gameObject);
     }
 }