public GraphRunner(NodeGraph nodeGraph, AGraphProperties graphProperties, BlackboardProperties blackboardProperties) { m_nodeCollection = nodeGraph.NodeCollection; GraphProperties = graphProperties; BlackboardProperties = blackboardProperties; graphControls = new GraphControls(GraphProperties, BlackboardProperties, TraverseEdge); if (m_nodeCollection == null) { Debug.LogError("No Graph attached to GraphRunner!"); } }
public virtual void OnNodeExit(GraphControls graphControls) { }
public virtual void OnNodeUpdate(GraphControls graphControls) { }
// These methods should be implemented to make the node do whatever it needs to do. public virtual void OnNodeEnter(GraphControls graphControls) { }