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