Esempio n. 1
0
 public void SetDialogue(bool on)
 {
     if (on)
     {
         Time.timeScale = 0;
         dialogueScript.transform.parent.gameObject.SetActive(true);
         dialogueScript.GoToLine(0);
     }
     else
     {
         Time.timeScale = 1;
         dialogueScript.transform.parent.gameObject.SetActive(false);
     }
 }