EntityStore.CloneEntity(Entity).md
July 20, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.EntityStore
EntityStore.CloneEntity(Entity) Method
Create and return a clone of the passed entity in the store.
public Friflo.Engine.ECS.Entity CloneEntity(Friflo.Engine.ECS.Entity entity);
Parameters
entity Entity
Returns
Remarks
Child entities of the passed entity are not copied to the cloned entity.
If doing this these child entities would be children of the passed entity and the clone.