Sometimes you want side effects when you enable or disable an entity, like playing an animation.
on_enable()on_disable()on_destroy()
Lists lifecycle hooks like on_enable, on_disable, and on_destroy for adding side effects when entities change state.
Sometimes you want side effects when you enable or disable an entity, like playing an animation.
on_enable()on_disable()on_destroy()