So using the Variable Synchronizer, I can sync Playmaker and Behavior Designer variables. The problem is that the gameobject with the behavior tree is a prefab, and the Playmaker object is a scene object. So if I define this before runtime (and before the prefab is instantiated), it loses the connection.
I've tried to set things after instantiation, but the Variable Sync script is confusing because its calling code outside of itself, and being a pretty novice programmer, I'm not sure how to interface with that (since I primarily do all my scripting through Playmaker).
How can I sync a BD prefab object variables with a Scene-based Playmaker FSM variable?
Thanks!
I've tried to set things after instantiation, but the Variable Sync script is confusing because its calling code outside of itself, and being a pretty novice programmer, I'm not sure how to interface with that (since I primarily do all my scripting through Playmaker).
How can I sync a BD prefab object variables with a Scene-based Playmaker FSM variable?
Thanks!
Last edited: