This allows us to extend our own tools to navigate through complex graph hierarchy.
In 3.0, currentGraph/currentChildGraph setters become private, I tried the following code but it doesn’t seem to work. GraphEditor.SetReferences(someNode.subGraph, someOwner, someOwner.blackboard);
Is it still possible to set subgraphs in the editor through code?
The ‘currentChildGraph’ property has been basically replaced with two new methods those being ‘GetCurrentChildGraph()’ and ‘SetCurrentChildGraphAssignable(IGraphAssignable assignable)’.
The ‘IGraphAssignable’ parameter of the ‘SetCurrentChildGraphAssignable’ method, is basically the node which contains the SubGraph (all nodes containing a subgraph are IGraphAssignables).
Having said that, both of those methods are ‘internal’. If you want to use them please change their access modifier to ‘public’. I can also make them public for the next version if this is something you will be using.
Thanks Gavalakis, it works great. I will change the methods to public myself for now but if you could make them public in the next version that would be great!