Reply To: Maintaining state with actions

Forums › 💬 NodeCanvas › 🗨️ General Discussion › Maintaining state with actions › Reply To: Maintaining state with actions

#14953
grofit
Participant

    Hey,

    So on the flip side of this, is there a best way to reset the state of an action?

    I can always just reset stuff before or within the EndAction() method, but was not sure if there was some preferred way to do so, as I am not sure if OnInit is called first time the action is created or every time the action is re-used after its ended.