public override void OnEnter()
        {
            QuestPath component = QuestPathObject.Value.GetComponent <QuestPath>();

            if (component != null)
            {
                OUT_NodeObject.Value = component.GetCurrentNode();
            }
            Finish();
        }
示例#2
0
 public override void OnEnter()
 {
     if (QuestPathObject.Value != null)
     {
         QuestPath component = QuestPathObject.Value.GetComponent <QuestPath>();
         if (component != null)
         {
             component.StartPath();
         }
     }
     Finish();
 }