5:02 In the Dialogue class, specify the text area. Inside the parentheses of the function, specify the minimum amount of lines used by a sentence and the maximum amount of lines used by a sentence.
5:55 In the DialogueTrigger class, create a TriggerDialogue() function
6:15 Find the DialogueManager using FindObjectOfType<>()
6:24 Call the StartDialogue function on the DialogueManager object. Pass in our dialogue variable as an argument.
6:39 Create the StartDialogue() function. Have it take in a Dialogue object.
7:51 In the StartDialogue() function, call the Clear() method on the sentences array
7:56 Go through all of the strings in the sentences array with a foreach loop
8:00 foreach(string sentence in dialogue.sentences)
9:09 In the DisplayNextSentence function, if we still have sentences left in the queue, load the next sentence in the queue. Store it in a string variable called sentence.
10:16 Ensure the script is using the UnityEngine.UI namespace