public GraphControls(AGraphProperties graphProperties, BlackboardProperties blackboardProperties, Action <OutportEdge> onTraverseEdge) { GraphProperties = graphProperties; BlackboardProperties = blackboardProperties; m_onTraverseEdge = onTraverseEdge; }
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 GraphRunner(NodeCollection nodeCollection, AGraphProperties graphProperties, BlackboardProperties blackboardProperties) { m_nodeCollection = nodeCollection; GraphProperties = graphProperties; BlackboardProperties = blackboardProperties; }