Пример #1
0
 protected void OnCollisionExit2D(Collision2D other)
 {
     if (other.gameObject.tag == "Bounds" || other.gameObject.tag == "Player1" || other.gameObject.tag == "Player2")
     {
         movement.QuitCollision();
     }
 }