コード例 #1
0
 //This whole function has gotta go.
 public void ToggleDialogue()
 {
     if (!InDialogue)
     {
         InDialogue = true;
         TogglePause();
         DialogueHandler.ReadLines(DummyLines.lines);
     }
     else if (DialogueHandler.lineQueue.Count > 0)
     {
         DialogueHandler.DisplayNextLine();
     }
     else
     {
         InDialogue = false;
         DialogueHandler.HidePanel();
         TogglePause();
     }
 }