void Awake() { dialogueVertexAnimator = new DialogueVertexAnimator(textBox, audioSourceGroup); playDialogue1Button.onClick.AddListener(delegate { PlayDialogue1(); }); playDialogue2Button.onClick.AddListener(delegate { PlayDialogue2(); }); playDialogue3Button.onClick.AddListener(delegate { PlayDialogue3(); }); }
void Awake() { dialogueVertexAnimator = new DialogueVertexAnimator(textBox, audioSourceGroup); playDialogueButton.onClick.AddListener(delegate { PlayDialogue(); }); playDialogueButton.gameObject.SetActive(false); }