Пример #1
0
 public void PlayCreditosMenu()
 {
     MainPanel.SetActive(false);
     PlayPanel.SetActive(false);
     CreditsPanel.SetActive(true);
     OpcionesPanel.SetActive(false);
     GameObject.Find("EventSystem").GetComponent <EventSystem>().SetSelectedGameObject(firstCred, null);
 }
Пример #2
0
 public void RegresarMenuPrincipal()
 {
     MainPanel.SetActive(true);
     PlayPanel.SetActive(false);
     CreditsPanel.SetActive(false);
     OpcionesPanel.SetActive(false);
     GameObject.Find("EventSystem").GetComponent <EventSystem>().SetSelectedGameObject(firstMain, null);
 }
Пример #3
0
 void Start()
 {
     MainPanel.SetActive(true);
     PlayPanel.SetActive(false);
     CreditsPanel.SetActive(false);
     OpcionesPanel.SetActive(false);
     print(PlayPanel.activeSelf);
 }
Пример #4
0
 void Start()
 {
     if (Shop != null)
     {
         PlayPanel.SetActive(false);
         Shop.SetActive(false);
         Dungeon.SetActive(false);
         Taverne.SetActive(false);
     }
 }