Regarding the bug with overrides, yes it is a visual (GUI-only) bug as I’ve explained in your [other post here]
Asset graphs are helpful if you want many completely different type of objects to use the same graph and where you don’t want to use prefabs, but if that is not a requirement, then I think that the simplest approach would be to use Bound Graphs with Prefabs. This way, you will have a single prefab to change when you need to (for example add a new variable) and also each prefab instance can have it’s variables different (overridden) if also need be. I would also probably chose to use GameObject variables instead of Graph Variables, since GameObject variables are the ones that are stored on the Blackboard component found on the GameObject and which is easier to access for all purposes (via other flowscripts, via tasks, or even via code). The Blackboard Component also supports per-variable prefab overrides.
Most of the things above are also supported if you chose to use Graph Assets with exposed public variables instead, except from the fact that they are harder to access from outside the graph (except via code currently).
In both cases and to answer your last questions, if you add a variable to the prefab blackboard (in case of using prefabs) or the Graph Asset local blackboard (in case you use Graph Assets), the newly added variable will appear in all instances and will not have to be added manually in every scene object instance.
Please let me know if that helps 🙂
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.