常用方法
常用方法
常用方法
常用方法
void OnTriggerEnter(Collider collider) { if (collider.gameObject.CompareTag("Ball")) { if (tableManager != null) { tableManager.BallEnterGoal(collider.gameObject, player); } } }
void OnTriggerEnter(Collider collider) { if (collider.gameObject.CompareTag("Ball")) { if (tableManager != null) { tableManager.BallEnterGoal(collider.gameObject, player); } } }