예제 #1
0
 private void OnTriggerEnter(Collider other)
 {
     if (other.gameObject.tag == GameManager.Instance.GetProjectileTag() || other.gameObject.tag == GameManager.Instance.GetPlayerShipTag())
     {
         asteroidController.Explode();
     }
 }