NodeCanvas Forums › Support › GlobalBlackboard error › Reply To: GlobalBlackboard error
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;
[SerializeField]private bool _initOnGraphStart = true;
And this in OnNodeInspectorGUI method: _initOnGraphStart = EditorGUILayout.Toggle("Init On Start", _initOnGraphStart);
_initOnGraphStart = EditorGUILayout.Toggle("Init On Start", _initOnGraphStart);
nc_subtree_init.png
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email