Reply To: Instantiate problem

NodeCanvas Forums General Discussion Instantiate problem Reply To: Instantiate problem

#13155
luis
Participant

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.