CreateEntityBatch.Add_T_().md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.CreateEntityBatch

CreateEntityBatch.Add() Method

Add a component that will be added to the entity when calling CreateEntity().

public Friflo.Engine.ECS.CreateEntityBatch Add<T>()
    where T : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;

Type parameters

T

Returns

CreateEntityBatch

Contents

  1. 0.1Friflo.Engine.ECS.CreateEntityBatch
  2. 1CreateEntityBatch.Add() Method