public void StartDialogue(DialogueGraph dialogue) { ClearButtons(); this.dialogue = dialogue; currentDialogueNode = (DialogueNode)dialogue.GetStartNode(); animator.SetBool("IsOpen", true); nameText.text = currentDialogueNode.NPCName; DisplayNextSentence(); }