private void BallTakeoverCollider_CollisionEnter(ssg.Collider otherCollider) { Debug.Log("collision enter: " + otherCollider.Trans.GetTransform().name); if ((ObjectId)otherCollider.Tag == ObjectId.Ball) { m_match.NotifyPlayerBallCollision(new PlayerId(Team, Index)); } }
private void BallTakeoverCollider_CollisionLeave(ssg.Collider otherCollider) { Debug.Log("collision leave: " + otherCollider.Trans.GetTransform().name); }