bevy_hierarchy

Function despawn_with_children_recursive

source
pub fn despawn_with_children_recursive(
    world: &mut World,
    entity: Entity,
    warn: bool,
)
Expand description

Function for despawning an entity and all its children