Example #1
0
 //Play menu
 public void PlayRoomButton()
 {
     if (GameController.ButtonRoomPresset != null)
     {
         //TODO PLAY MODE
         PlayMenu.SetActive(false);
     }
     else
     {
         PopupBackWindow.SetActive(true);
         ChangePopupBackText("You need to select a room first");
     }
 }
Example #2
0
 public void BackToMain()
 {
     PlayMenu.SetActive(false);
     MainMenu.SetActive(true);
 }
Example #3
0
 public void OpenPlayMenu()
 {
     MainMenu.SetActive(false);
     PlayMenu.SetActive(true);
 }
Example #4
0
 public void ActiveMenus(bool _menu, bool _create, bool _play)
 {
     MainMenu.SetActive(_menu);
     CreateMenu.SetActive(_create);
     PlayMenu.SetActive(_play);
 }