Esempio n. 1
0
 public void ContinueGame()
 {
     PanelPause.SetActive(false);
     ButtonPause.SetActive(true);
     v_on.SetActive(false);
     v_off.SetActive(false);
     Time.timeScale = 1;
 }
Esempio n. 2
0
 public void PauseOn()
 {
     PanelPause.SetActive(true);
     ButtonPause.SetActive(false);
     Time.timeScale = 0;
     if (PlayerPrefs.GetInt("Volume") == 0)
     {
         v_on.SetActive(false);
         v_off.SetActive(true);
     }
     else
     {
         v_on.SetActive(true);
         v_off.SetActive(false);
     }
 }