I noticed it is not about the blackboard, but the graph’s variables.
1) create a new game object in scene call it “root”
2) create a child of that game object
2) add fsm owner component to the “root” object
3) add state with action, “Set visibility”
4) In the action “Set Visibiity” set the target to the child object
5) make the “root” gameobject -> prefab
6) Instantiate that prefab by code
7) notice the “Set Visibility” node is chaning the prefab, and not the instance child.
Login
Register
By registering on this website you agree to our Privacy Policy.