Reply To: ConditionTask Methods

Forums 💬 NodeCanvas ⚙️ Support ConditionTask Methods Reply To: ConditionTask Methods

#17349
Gavalakis
Keymaster

    Hey,

    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.