So, I’ve made the changes so that OnEnable and OnDisable are called in Behaviour Tree nodes.
For your information, OnEnable is called when the BT node was Resting and is now active.
OnDisable is called when the BT node is reset back to Resting.
This handles correctly the Timeout example, as well as other cases other people have pointed out.
It will be part of the next update. 🙂
Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.