示例#1
0
 void OnTriggerEnter(Collider collider)
 {
     if (collider.gameObject.CompareTag("Ball"))
     {
         if (tableManager != null)
         {
             tableManager.BallEnterGoal(collider.gameObject, player);
         }
     }
 }