CreateEntityBatch.CreateEntity(int).md
May 21, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.CreateEntityBatch
CreateEntityBatch.CreateEntity(int) Method
Creates an entity with the specified id and the components and tags previously added.
Added batch components and tags are not cleared.
public Friflo.Engine.ECS.Entity CreateEntity(int id);
Parameters
id System.Int32
Returns
Remarks
Subsequent use of a batch returned by Batch(autoReturn: true) throws BatchAlreadyReturnedException.