Expand description
Run conditions for actions.
Structs§
- Action
State Param - A system parameter that fetches the
ActionStateeither from a resource or from a component. If both exist, the resource takes precedence.
Functions§
- action_
just_ pressed - Run condition that is active if
ActionState::just_pressedis true for the given action. - action_
just_ released - Run condition that is active if
ActionState::just_releasedis true for the given action. - action_
pressed - Run condition that is active if
ActionState::pressedis true for the given action. - action_
toggle_ active - Stateful run condition that can be toggled via an action press using
ActionState::just_pressed.