You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The BehaviourTree and BehaviourNode classes store Tree Meta Data.
The meta data is defined inside UNITY_EDITOR blocks and stores information such as Node Position, Pan, Zoom, etc. This meta data is only relevant to the BonsaiDesigner.
This was initially done so data was centralized in one place and serialized along with the ScriptableObject.
The data should be moved outside the core classes.
An approach can be storing all this data in a separate ScriptableObject (TreeMetaData class). This object would be added under the BehaviourTree asset object so all data is centralized. In play mode, the tree instance running will not use this data at all.
The text was updated successfully, but these errors were encountered:
The BehaviourTree and BehaviourNode classes store Tree Meta Data.
The meta data is defined inside UNITY_EDITOR blocks and stores information such as Node Position, Pan, Zoom, etc. This meta data is only relevant to the BonsaiDesigner.
This was initially done so data was centralized in one place and serialized along with the ScriptableObject.
The data should be moved outside the core classes.
An approach can be storing all this data in a separate ScriptableObject (TreeMetaData class). This object would be added under the BehaviourTree asset object so all data is centralized. In play mode, the tree instance running will not use this data at all.
The text was updated successfully, but these errors were encountered: