Exemple #1
0
 private void Start()
 {
     choicesMode    = false;
     currDialogNode = dialog;
     currSentences  = currDialogNode.sentences;
     output         = DialogueObject.CreateDialogueObject(gameObject, "");
     GetNextDialogueChoices();
     wait = true;
 }
Exemple #2
0
 private void OnEnter()
 {
     if (isSpeaking && typeManager.IsDialog())
     {
         SpeakToNearby();
         isSpeaking = false;
         DialogueObject.CreateDialogueObject(gameObject, typeManager.GetCurrentDialogueInput(), diaDuration);
         typeManager.ClearDialogue();
     }
     else
     {
         isSpeaking = true;
     }
 }