So I have “Main manager”(with Global var) that always inits first, and then stays always on with “Don’t Destroy on load”
And all other scenes i load can see global variables in “MainManager”
But “MainManager” can’t see global vars in other scenes.
I tried “Validate()” in “MainManager” when new scene was loaded, but to no avail. I though “Validate()” will work, like “Re-Validate” in graph menu, but it didn’t
Can you please clarify a bit regarding your setup? Do you mean that this “Main Manager” is a gameobject with a “Global Blackboard” component attached to it?
Hello, yes, “Main manager” is Global Blackboard, with checked “Don’t Destroy on load”, i have specific first scene that loads with this manager, and goes to the next scene(main menu). I pull variables from “Main manager”(global blackboard) from any scene and it works great.
But when i try to do otherwise, from “Main manager” flowgraph itself, pull variables from another global variable in the scene, it doesn’t see them.
For example when i enter new scene, i want to “Main Manager” to know in what scene we are. So in each scene i have “Scene”(global blackboard), with “This_scene” variable(it’s Scriptable object), but “Main manager” can’t pull that variable(even tho in pause i can see that global variables from popup menu), i tried to re-validate graph to make “Main manager” see them, didn’t work.
I can just send signal to “Main manager”, which i am doing right now, but wanted to know if i can pull variables directly.
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.