EntityBatch.Add_T_(T).md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.EntityBatch
EntityBatch.Add(T) Method
Adds an add component command to the EntityBatch with the given component.
public Friflo.Engine.ECS.EntityBatch Add<T>(in T component)
where T : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;
Type parameters
T
Parameters
component T