bevy_ecs::event

Function event_update_condition

Source
pub fn event_update_condition(
    maybe_signal: Option<Res<'_, EventRegistry>>,
) -> bool
Expand description

A run condition for event_update_system.

If signal_event_update_system has been run at least once, we will wait for it to be run again before updating the events.

Otherwise, we will always update the events.