Is there anything wrong with this structure?
- I have a prefab with behaviour tree component which is using an external behaviour tree file.
- In the scene I have multiple instances of this prefab.
- I have dragged INSTANCES of other SCENE GAMEOBJECTS into the global variables of the behaviour tree.
It is all working this way, but I'm wondering if I'm breaking any rules because the behaviour tree on a prefab is using an external behaviour tree file, is it ok to be referencing scene objects this way? Or should I should be using the Variable synchronizer component to do this?
- I have a prefab with behaviour tree component which is using an external behaviour tree file.
- In the scene I have multiple instances of this prefab.
- I have dragged INSTANCES of other SCENE GAMEOBJECTS into the global variables of the behaviour tree.
It is all working this way, but I'm wondering if I'm breaking any rules because the behaviour tree on a prefab is using an external behaviour tree file, is it ok to be referencing scene objects this way? Or should I should be using the Variable synchronizer component to do this?
Last edited: