Exemplo n.º 1
0
        private void OnApplicationFocus(bool hasFocus)
        {
            if (GameStateHandler.CurrentGameState == GameState.GameOver)
            {
                return;
            }

            if (!hasFocus)
            {
                _pauseMenu.ToggleOnPausePanel();
            }
        }