cloningEntities.md 478 B

Cloning an entity

You can find this sample in the tutorial project: Scenes -> Basics -> Cloning entities

Explanation

This C# basics tutorial covers how to clone an existing entity and how to add that clone to the scene. A cloned entity is an exact copy which means that the Transformd and all other components are copied to.

Editor properties

Code

[!code-csharpEntity]