Пример #1
0
 private void OnTriggerExit2D(Collider2D collision)
 {
     if (_player != null)
     {
         _miniGame.RemovePlayer(_player, _playerIndex);
         _player       = null;
         _inputHandler = null;
         _miniGame.OnMiniGameStarted -= OnMiniGameStarted;
     }
 }