Function bevy::prelude::resource_added
pub fn resource_added<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 added since the condition was last checked.