Function bevy::input::common_conditions::input_pressed
pub fn input_pressed<T>(input: T) -> impl FnMut(Res<'_, Input<T>>)where
T: Copy + Eq + Hash + Send + Sync + 'static,
Expand description
Run condition that is active if Input::pressed
is true for the given input.