public void OnPointerDown(PointerEventData eventData)
        {
            if (!_pauseButtonController || !_gameSceneController)
            {
                return;
            }

            _pauseButtonController.PauseButtonClick();
            _gameSceneController.LoadMainMenu();
        }
示例#2
0
 public void MainMenuButtonPressed()
 {
     _gameSceneController.LoadMainMenu();
 }