[]Trait bevy::transform::hierarchy::DespawnRecursiveExt

pub trait DespawnRecursiveExt {
    pub fn despawn_recursive(&mut self, entity: Entity) -> &mut Self;
}

Required methods

pub fn despawn_recursive(&mut self, entity: Entity) -> &mut Self

Despawns the provided entity and its children.

Loading content...

Implementors

impl DespawnRecursiveExt for Commands

pub fn despawn_recursive(&mut self, entity: Entity) -> &mut Commands

Despawns the provided entity and its children.

Loading content...