public void CloseWindow() { if (_gameController is IStorable) { _exitWindowWithSaving.Close(); } else { _simpleExitWindow.Close(); } }
void Start() { settingsWindow.Close(); upgradesWindow.Close(); }