Reply To: GlobalBlackboard error

NodeCanvas Forums Support GlobalBlackboard error Reply To: GlobalBlackboard error

#13257
psykaw
Participant

I did it with a option in SubTree node (see attachment).

It seems to work well and its a few lines of code:
Add this in SubTree:
[SerializeField]private bool _initOnGraphStart = true;

And this in OnNodeInspectorGUI method:
_initOnGraphStart = EditorGUILayout.Toggle("Init On Start", _initOnGraphStart);

Attachments:
  1. nc_subtree_init.png