Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 3
0
 void Start()
 {
     MainPanel.SetActive(true);
     PlayPanel.SetActive(false);
     CreditsPanel.SetActive(false);
     OpcionesPanel.SetActive(false);
     print(PlayPanel.activeSelf);
 }
Esempio n. 4
0
 public void Panel3()
 {
     OpcionesPanel.SetActive(true);
 }
Esempio n. 5
0
 // Start is called before the first frame update
 void Start()
 {
     PanelNuePartida.SetActive(false);
     PanelPartidas.SetActive(false);
     OpcionesPanel.SetActive(false);
 }