void OpenGameMenu() { _gameMenu.SetActive(true); _buttons[Constants.pauseButton].gameObject.SetActive(false); _magazinePanel.SetActive(false); _updateManager.Stop(); }
void Open_mainMenu() { _buttons[Constants.playBatton].gameObject.SetActive(false); _buttons[Constants.menuButton].gameObject.SetActive(false); _mainMenu.SetActive(true); _buttons[Constants.restartButton].gameObject.SetActive(true); _buttons[Constants.continueButton].gameObject.SetActive(true); _updateManager.Stop(); }