示例#1
0
    private void DoEndGame()
    {
        _snakeController.OnCameraRequest -= DoCameraRequest;
        _snakeController.OnDied          -= DoEndGame;
        _inputManager.KeyDown            -= OnKeyDown;

        _gameStart = false;
        _snakeController.VReset();
        _cameraController.VReset();
        _blockSpawner.VReset();
        _UIManager.EnableStartScreen(true);
    }