Exemplo n.º 1
0
		public void EndDialogue()
		{
			dialogueBox.SetActive(false);

			dialogueText.text = "";
			titleText.text = "";

			StopAllCoroutines();

			currentLine = null;
			isActive = false;

            if(pauseDuringDialogue)
                Time.timeScale = 1f;

			OnDialogueEnd?.Invoke();
		}