public override TreeBaseNode WalkGraphToCreateTree(BehaviourTree.BehaviourTree tree, Context currentContext) { RuntimeCondition brtc = new RuntimeCondition(conditionalSelector, tree.owner); TreeConditionNode node = new TreeConditionNode(tree, currentContext) { runtimeCondition = brtc }; return(WalkDecoratorNode(tree, node)); }
protected override void OnCreation() { conditionNode = new TreeConditionNode(null, null); thisTreeNode = conditionNode; }
public virtual T Visit(TreeConditionNode node, T state) { return(DefaultVisit(node, state)); }