void DoOnPause(PausingState state) { if (state == PausingState.Pausing) pauseGui.Visible = true; else pauseGui.Visible = false; }
void PauseEvent(PausingState state) { Engine.SetAllSoundsPaused(state == PausingState.Pausing); }