pub fn action_just_released<A>(
action: A,
) -> impl FnMut(Res<'_, ActionState<A>>) -> boolwhere
A: Actionlike + Clone,
Expand description
Run condition that is active if ActionState::just_released
is true for the given action.
pub fn action_just_released<A>(
action: A,
) -> impl FnMut(Res<'_, ActionState<A>>) -> boolwhere
A: Actionlike + Clone,
Run condition that is active if ActionState::just_released
is true for the given action.