Reply To: Inspect subgraphs in Canvas

NodeCanvas Forums Support Inspect subgraphs in Canvas Reply To: Inspect subgraphs in Canvas

#14735
Gavalakis
Keymaster

Hello again,

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.

Let me know if that works for you.

Thanks 🙂

Join us on Discord: https://discord.gg/97q2Rjh