bevy_ecs::schedule::common_conditions

Function any_component_removed

Source
pub fn any_component_removed<T: Component>() -> impl FnMut(RemovedComponents<'_, '_, T>) -> bool
Expand description

Generates a Condition-satisfying closure that returns true if there are any entity with a component of the given type removed.