It would be really beneficial, if you could define Global Blackboard asset with variables, and have those variables accessible from behavior trees variables blackboard.
Since many projects are not tied to any particular scene (e.g. they can have dozens of levels) having Global Blackboard component on gameobject instance just does not cut it.
It would really help if we could define global variables per entire project, in this Global Blackboard Asset scriptable object and have it available either in every BehaviorTree by default, or to be able to “inject” this asset into a behavior tree, and those variables would become available.
Competitor Behavior Designer unity asset already has this functionality, where you can define global shared variables that are available to entire project.
There is already the ability to create Asset Blackboards (by right click in your project as usual) and assign asset blackboard as parent to the gameobject blackboard to “inherit” and use the asset variables. You can create as many asset blackboard as you like and assign them accordingly, instead of being able to only create one. Please take a look at the documentation here:
But that ties you do the scene. We do not use gameobjects when creating graphs, only scriptable objects. So we have nowhere to assign this blackboard asset to, since we are constructing our objects dynamically during the runtime from graph assets.
This is why the pure asset blackboard was requested, without need for gameobjects or components.
I could make a few changes to be possible to assign an Asset Blackboard to Asset Graphs directly the same way and without the need for the gameobject blackboard. Can you please though let me know your workflow and code for executing the asset graphs in runtime to confirm everything will be working correctly?
Thanks.
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.