Esempio n. 1
0
 public void SelectManager(int s)
 {
     if (s == 0)
     {
         PanelGame.SetActive(false);
     }
     if (s == 1) // options
     {
         ButtonsManager.SetActive(false);
         Options.SetActive(true);
         Back.SetActive(true);
     }
     if (s == 2) // credits
     {
         ButtonsManager.SetActive(false);
         Credits.SetActive(true);
         Back.SetActive(true);
     }
     if (s == 3)
     {
         Options.SetActive(false);
         Credits.SetActive(false);
         ButtonsManager.SetActive(true);
         Back.SetActive(false);
     }
 }