bevy_ecs::system::command

Function run_system_with

Source
pub fn run_system_with<I>(
    id: SystemId<I>,
    input: I::Inner<'static>,
) -> impl Command<Result>
where I: SystemInput<Inner<'static>: Send> + 'static,
Expand description

A Command that runs the system corresponding to the given SystemId and provides the given input value.