Module bevy_ecs::schedule::common_conditions
source · Expand description
A collection of run conditions that may be useful in any bevy app.
Functions
- Generates a
Condition
-satisfying closure that returnstrue
if there are any entity with a component of the given type removed. - A
Condition
-satisfying system that returnstrue
if there are any entities with the given component type. - Generates a
Condition
-satisfying closure that returnstrue
if the state machine is currently instate
. - Generates a
Condition
that inverses the result of passed one. - Generates a
Condition
-satisfying closure that returnstrue
if there are any new events of the given type since it was last called. - A
Condition
-satisfying system that returnstrue
if the resource of the given type has been added since the condition was last checked. - A
Condition
-satisfying system that returnstrue
if the resource of the given type has had its value changed since the condition was last checked. - Generates a
Condition
-satisfying closure that returnstrue
if the resource of the given type has had its value changed since the condition was last checked. - A
Condition
-satisfying system that returnstrue
if the resource exists. - A
Condition
-satisfying system that returnstrue
if the resource of the given type has had its value changed since the condition was last checked. - Generates a
Condition
-satisfying closure that returnstrue
if the resource exists and is equal tovalue
. - Generates a
Condition
-satisfying closure that returnstrue
if the resource of the given type has been removed since the condition was last checked. - Generates a
Condition
-satisfying closure that returnstrue
if the first time the condition is run and false every time after - A
Condition
-satisfying system that returnstrue
if the state machine changed state. - A
Condition
-satisfying system that returnstrue
if the state machine exists. - state_exists_and_equalsDeprecatedIdentical to
in_state
- use that instead.