Exemple #1
0
 public void TimeGo()
 {
     ThisAudio.clip = buttonClick;
     ThisAudio.Play();
     Time.timeScale = 1;
     TimeStop_Screen.SetActive(false);
     RemoveCanvas.SetActive(true);
 }
Exemple #2
0
 public void TimeStop()
 {
     RemoveCanvas.SetActive(false);
     ThisAudio.clip = buttonClick;
     ThisAudio.Play();
     if (!TimeStop_Screen.activeSelf)
     {
         TimeStop_Screen.SetActive(true);
         Time.timeScale = 0;
     }
 }