bevy_ecs::observer

Type Alias ObserverRunner

Source
pub type ObserverRunner = fn(_: DeferredWorld<'_>, _: ObserverTrigger, _: PtrMut<'_>, propagate: &mut bool);
Expand description

Type for function that is run when an observer is triggered.

Typically refers to the default runner that runs the system stored in the associated Observer component, but can be overridden for custom behavior.