OnEnable and OnDisable method in Condition tasks don’t share the same calling way of OnEnable and OnDisable of Monobehaviour if that is what you meant. In the context of FSM, OnEnable and OnDisable will be called pretty much when you describe:
– OnEnable, will be called once the parent state gets active and just before the first check.
– OnDisable, will be called once the parent state exits.
Please let me know if I misunderstood what you meant.
Thank you.
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.