예제 #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == "Projectile")
     {
         Destroy(this.gameObject);
         MissionDemolition.RemoveShotFired();
     }
 }