Exemplo n.º 1
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.º 2
0
 public virtual void OnNodeExit(GraphControls graphControls)
 {
 }
Exemplo n.º 3
0
 public virtual void OnNodeUpdate(GraphControls graphControls)
 {
 }
Exemplo n.º 4
0
 // These methods should be implemented to make the node do whatever it needs to do.
 public virtual void OnNodeEnter(GraphControls graphControls)
 {
 }