EntityBatch.AddComponent_T_(T).md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.EntityBatch

EntityBatch.AddComponent(T) Method

Obsolete - use renamed method: Add<T>(T)

public Friflo.Engine.ECS.EntityBatch AddComponent<T>(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.AddComponent(T) Method