bevy_ecs::system::command

Function trigger_targets

Source
pub fn trigger_targets(
    event: impl Event,
    targets: impl TriggerTargets + Send + Sync + 'static,
) -> impl Command
Expand description

A Command that sends a Trigger for the given targets.