コード例 #1
0
 public void StartConversation()
 {
     currentTalker.StartTalking();
     inDialogue   = true;
     dialogueTree = currentTalker.LoadTree();
     if (dialogueUI == null)
     {
         //There's only one DilaogueUI, so no worries.
         dialogueUI = FindObjectOfType <DialogueUI>();
         dialogueUI.Init(this);
     }
     dialogueUI.ConversationStarted();
     dialogueUI.DrawNode(dialogueTree.Root.Content);
 }