Trait bevy::transform::prelude::DespawnRecursiveExt
[−]pub trait DespawnRecursiveExt {
fn despawn_recursive(self);
fn despawn_descendants(&mut self);
}
Required methods
fn despawn_recursive(self)
fn despawn_recursive(self)
Despawns the provided entity alongside all descendants.
fn despawn_descendants(&mut self)
fn despawn_descendants(&mut self)
Despawns all descendants of the given entity.