void OnGamePause(GamePauseEvent e) { if (e.state) { ShowGamePause(); } else { ShowLevelProgress(); } }
protected override void GamePause(GamePauseEvent e) => OpenPanel(m_PanelInGameMenu);
protected virtual void GamePause(GamePauseEvent e) { }
void GamePauseEventHandler(GamePauseEvent e) { paused = e.state; }
public void OnGamePause() { State.value = PlayState.Paused; GamePauseEvent?.Invoke(); }