예제 #1
0
 protected override void ImmediateReaction()
 {
     if (myNpcInteraction.isIteracting)
     {
         dialogueSystem.CloseImply();
         dialogueSystem.AddNewDialogue(dialogue, Name);
     }
     else if (!myNpcInteraction.interactPermit)
     {
         dialogueSystem.CloseImply();
     }
     else
     {
         dialogueSystem.CreateImply(implyLine);
     }
 }