Пример #1
0
 public void ToggleOptions()
 {
     if (_optionsOpened)
     {
         _optionsScene.Hide();
     }
     else
     {
         _optionsScene.Show(ToggleOptions, _endGame);
     }
     _optionsOpened = !_optionsOpened;
     _pause.Active  = _optionsOpened;
     Cursor.visible = _optionsOpened;
 }
Пример #2
0
 public void CloseOptions()
 {
     Log.Logger.Info("Close options");
     _optionsScene.Hide();
 }