Exemplo n.º 1
0
 public GraphControls(AGraphProperties graphProperties,
                      BlackboardProperties blackboardProperties,
                      Action <OutportEdge> onTraverseEdge)
 {
     GraphProperties      = graphProperties;
     BlackboardProperties = blackboardProperties;
     m_onTraverseEdge     = onTraverseEdge;
 }
Exemplo n.º 2
0
        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!");
            }
        }
Exemplo n.º 3
0
 public GraphRunner(NodeCollection nodeCollection, AGraphProperties graphProperties, BlackboardProperties blackboardProperties)
 {
     m_nodeCollection     = nodeCollection;
     GraphProperties      = graphProperties;
     BlackboardProperties = blackboardProperties;
 }