public void ToggleOptions() { if (_optionsOpened) { _optionsScene.Hide(); } else { _optionsScene.Show(ToggleOptions, _endGame); } _optionsOpened = !_optionsOpened; _pause.Active = _optionsOpened; Cursor.visible = _optionsOpened; }
public void ShowOptions() { Log.Logger.Info("Show options"); _optionsScene.Show(CloseOptions, null); }