pub fn clone_with(
target: Entity,
config: impl FnOnce(&mut EntityClonerBuilder<'_>) + Send + Sync + 'static,
) -> impl EntityCommand
Expand description
An EntityCommand
that clones parts of an entity onto another entity,
configured through EntityClonerBuilder
.