pub trait DespawnRecursiveExt {
    fn despawn_recursive(self);
    fn despawn_descendants(&mut self);
}
Expand description

Trait that holds functions for despawning recursively down the transform hierarchy

Required Methods§

Despawns the provided entity alongside all descendants.

Despawns all descendants of the given entity.

Implementations on Foreign Types§

Despawns the provided entity and its children.

Despawns the provided entity and its children.

Implementors§