titidatiti
New member
I'm using Behavior Designer in Unity.
I have an NPC prefab with a behavior tree and I use this prefab to create all the NPCs in the scene.
To make the NPCs look different, I have several bool variables, such as: IsSleeping, WithHat, WithBackpacks and so on.
However, when I click the run button, all the variables are reverted to the same as the prefab is.
Is is possible to set the variables for instances of a prefab?
Thank you!
I have an NPC prefab with a behavior tree and I use this prefab to create all the NPCs in the scene.
To make the NPCs look different, I have several bool variables, such as: IsSleeping, WithHat, WithBackpacks and so on.
However, when I click the run button, all the variables are reverted to the same as the prefab is.
Is is possible to set the variables for instances of a prefab?
Thank you!