public void StartDialogue(Dialgoue dialogue) { animator.SetBool("isActive", true); sentences.Clear(); foreach (string sentence in dialogue.sentences) { sentences.Enqueue(sentence); } DisplayNextSentence(); }
public void StartDialogue(Dialgoue dialogue) { currentDialogueName = dialogue.name; animator.SetBool("IsOpen", true); sentences.Clear(); foreach (string sentence in dialogue.sentences) { sentences.Enqueue(sentence); } DisplayNextSentence(); }