Function bevy::prelude::any_component_removed
source · pub fn any_component_removed<T>() -> impl FnMut(RemovedComponents<'_, '_, T>)where
T: Component,
Expand description
Generates a Condition
-satisfying closure that returns true
if there are any entity with a component of the given type removed.