示例#1
0
 private void TriggerEnterAction()
 {
     if (currentNode != null && currentNode.GetOnEnterAction() != "")
     {
         foreach (DialogueTrigger trigger in currentConversant.GetComponents <DialogueTrigger>())
         {
             trigger.Trigger(currentNode.GetOnEnterAction());
         }
     }
 }
示例#2
0
 private void TriggerEnterAction()
 {
     if (currentNode != null)
     {
         TriggerAction(currentNode.GetOnEnterAction());
     }
 }