private void OnCollisionEnter(Collision collider)
 {
     if (collider.gameObject.tag == bulletTagName)
     {
         gate.OnRightChainDestroy();
     }
 }
예제 #2
0
 public override void afterHit()
 {
     gate.OnRightChainDestroy();
 }