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

Returns

EntityBatch

Contents

  1. 0.1Friflo.Engine.ECS.EntityBatch
  2. 1EntityBatch.Add(T) Method