Ejemplo n.º 1
0
 public void CancelGame()
 {
     DialogBoxStart.SetActive(true);
     DialogBoxLevel.SetActive(true);
     DialogBoxOptions.SetActive(true);
     DialogBoxQuit.SetActive(true);
     DialogBoxNewGame.SetActive(false);
     DialogBoxContinue.SetActive(false);
     DialogBoxCancel.SetActive(false);
 }
Ejemplo n.º 2
0
 public void PlayGame()
 {
     //SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
     DialogBoxStart.SetActive(false);
     DialogBoxLevel.SetActive(false);
     DialogBoxOptions.SetActive(false);
     DialogBoxQuit.SetActive(false);
     DialogBoxNewGame.SetActive(true);
     DialogBoxContinue.SetActive(true);
     DialogBoxCancel.SetActive(true);
 }