TreeUtils.DuplicateEntities(List_Entity_).md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Utils.TreeUtils
TreeUtils.DuplicateEntities(List) Method
public static int[] DuplicateEntities(System.Collections.Generic.List<Friflo.Engine.ECS.Entity> entities);
Parameters
entities System.Collections.Generic.List<Entity>
Returns
System.Int32[]
the indexes of the duplicated entities within the parent of the original entities