protected override Status OnExecute(Component agent, IBlackboard bb) { if (target == null) { return(Error("Target Node of Jumper node is null")); } DLGTree.EnterNode(target); return(Status.Success); }
void OnStatementFinish() { count++; if (count < textsCount) { DLGTree.EnterNode(this); } else { count = 0; status = Status.Success; DLGTree.Continue(); } }