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