Function bevy::ecs::schedule::common_conditions::resource_removed
pub fn resource_removed<T>() -> impl FnMut(Option<Res<'_, T>>)where
T: Resource,
Expand description
Generates a Condition
-satisfying closure that returns true
if the resource of the given type has been removed since the condition was last checked.