예제 #1
0
 public override void StartDialogue(ConversationWithActions newConversation, bool skip)
 {
     base.StartDialogue(newConversation, skip);
     if (pause)
     {
         Pause.InstantPause(true);
     }
 }
 public virtual void StartDialogue(ConversationWithActions newConversation, bool skip)
 {
     if ((DialogueIsRunning && !skip) || newConversation == null)
     {
         return;
     }
     enabled = true;
     Setup(newConversation);
     TriggerCurrentEvent();
     OnDialogueStarted?.Invoke();
 }
 private void Setup(ConversationWithActions conversation, int position = 0)
 {
     currentConversation = conversation;
     speakers            = currentConversation.Speakers;
     currentPosition     = position;
 }