bevy::prelude

Function any_component_removed

source
pub fn any_component_removed<T>(removals: RemovedComponents<'_, '_, T>) -> bool
where T: Component,
Expand description

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