예제 #1
0
    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));
        }
    }
예제 #2
0
 private void BallTakeoverCollider_CollisionLeave(ssg.Collider otherCollider)
 {
     Debug.Log("collision leave: " + otherCollider.Trans.GetTransform().name);
 }