Function ambient_api::ecs::despawn_query
source · pub fn despawn_query<Components>(
components: Components
) -> EventQuery<Components>
Expand description
Creates a new EventQuery that will find entities that have the specified components
that will call its bound function when an entity with those components are despawned / seen
for the last time by this query.