pub fn move_components<B: Bundle>(target: Entity) -> impl EntityCommand
Expand description
An EntityCommand
that clones the specified components of an entity
and inserts them into another entity, then removes them from the original entity.
pub fn move_components<B: Bundle>(target: Entity) -> impl EntityCommand
An EntityCommand
that clones the specified components of an entity
and inserts them into another entity, then removes them from the original entity.