예제 #1
0
 private void Start()
 {
     chatBubble.SetActive(false);                         //hide chat bubble
     dialogueManager.dialogueRunner.Add(yarnDialogue);    //send .yarn to the Dialogue Manager
     dialogueManager.AddSpeaker(speakerData);             //send this NPC's speaker data to the DM
     defaultScale = npc.transform.localScale;             //save starting direction of NPC
 }