public void StartGameSettings1() { //Names //gameObject.SetActive(false); MainMenuPanel.SetActive(false); GameOverPanel.SetActive(false); GameSettingsPanel1.SetActive(true); GameController.Instance.state = eState.MENU; Console.WriteLine("Settings1 menu controller"); }
public void StartGameSettings2() { //Difficulty //gameObject.SetActive(false); GameOverPanel.SetActive(false); GameSettingsPanel1.SetActive(false); GameSettingsPanel2.SetActive(true); GameController.Instance.state = eState.MENU; Console.WriteLine("Settings2 menu controller"); }
public void StartGame() { gameObject.SetActive(true); MainMenuPanel.SetActive(false); PausePanel.SetActive(false); GameSettingsPanel1.SetActive(false); GameSettingsPanel2.SetActive(false); GameController.Instance.state = eState.GAME; Console.WriteLine("Start Game menu controller"); }