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