예제 #1
0
 void OnTriggerEnter(Collider other)
 {
     if (other.tag == "Asteroid")
     {
         gameDriver.AsteroidCollision(this.gameObject, other.gameObject);
     }
     else if (other.tag == "Boundary")
     {
         BankShot();
     }
     else
     {
         return;
     }
 }