public void StartGame(int Mode) { StartGameMenu.SetActive(false); GameUIPanel.SetActive(true); WinnerPanel.SetActive(false); InfoPanel.SetActive(true); Main.HideBackgroundElements(); switch (Mode) { case 1: Player2CtrlPanel.SetActive(false); break; case 2: Player2CtrlPanel.SetActive(true); break; case 3: Player2CtrlPanel.SetActive(false); break; } MenuCam.CameraMode = 2; GameMode = Mode; GameStartBtnPressed = true; }
public void OpenMainMenu() { Menu.SetActive(true); StartGameMenu.SetActive(false); OptionsMenu.SetActive(false); GameUIPanel.SetActive(false); }
public void OpenOptionsMenu() { Menu.SetActive(false); StartGameMenu.SetActive(false); OptionsMenu.SetActive(true); }