Manual Variable Synchronizer update?

EdwinWiseOne

New member
I've looked around (e.g. documentation, code, forums...) and haven't found an answer to this question --

In the Variable Synchronizer, there are several update intervals, one of which is "Manual". I can see how to tick the behavior tree in manual update mode, but I don't see how to manually synchronize the variables.

Thanks,

Edwin!
 
On the Variable Synchronizer you can call Tick:

Code:
m_VariableSynchronizer.Tick()
 
Yes, but now I don't see where m_VariableSynchronizer lives... it's not shown in the BehaviorDesigner source, nor does it seem to be a part of BehaviorManager.instance nor part of the BehaviorTree.
 
The variable synchronizer is its own component that you have to add. It does not get added automatically. From there you can get a reference to it.
 
Top