New event for behaviors

We added a new event ‘StateChange’ to allow behaviors to detect when the state will be changed. This event will be sent after ‘ExitState’ and before ‘EnterState’ to all kind of behaviors, with & without state.

Inside this event you can check the prior state and the current state, using behavior manager, to make per state changes or configuration.

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *