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