Reply To: simple question,is there any way can pre deserialize the tree?

NodeCanvas Forums Support simple question,is there any way can pre deserialize the tree? Reply To: simple question,is there any way can pre deserialize the tree?

#16527
Gavalakis
Keymaster

Hello,

You could pre-instantiate the graphs (or the GraphOwner) at the start of the game and call StartBehaviour on them only when you want to use them. The option “On Start: Do Nothing” in the inspector of the GraphOwner is something that may help with this approach so that the behaviour does not start automatically when the GraphOwner is instantiated.

Please let me know if that helps.

Thanks.

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