bevy_ecs::observer

Type Alias ObserverRunner

Source
pub type ObserverRunner = fn(_: DeferredWorld<'_>, _: ObserverTrigger, _: PtrMut<'_>);
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 [ObserverSystemComponent], but can be overridden for custom behaviour.