Exemplo n.º 1
0
 // Interact without any prerequisites
 protected virtual void InteractNoReq(PlayerInteract interactor)
 {
     if (!speaking && !endOfDialogue)
     {
         speaking = true;
         dialogueManager.endDialogueEvent += EndOfDialogue;
         dialogueSystem.ChangeStory(currentState);
         dialogueManager.InitializeDialogue(dialogueSystem);
     }
     else
     {
         dialogueManager.NextSentence();
     }
 }