pub fn despawn() -> impl EntityCommandExpand description
An EntityCommand that despawns an entity.
ยงNote
This will also despawn the entities in any RelationshipTarget
that is configured to despawn descendants.
For example, this will recursively despawn Children.