Type Alias bevy_ecs::component::ComponentHook
source · pub type ComponentHook = for<'w> fn(_: DeferredWorld<'w>, _: Entity, _: ComponentId);
Expand description
The type used for Component
lifecycle hooks such as on_add
, on_insert
or on_remove