ForEachEntity_T1,T2_(T1,T2,Entity).md

November 22, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS

ForEachEntity<T1,T2>(T1, T2, Entity) Delegate

Provide the state of an entity within ForEachEntity(ForEachEntity<T1,T2>).

public delegate void ForEachEntity<T1,T2>(ref T1 component1, ref T2 component2, Friflo.Engine.ECS.Entity entity)
    where T1 : struct, System.ValueType, System.ValueType
    where T2 : struct, System.ValueType, System.ValueType;

Type parameters

T1

T2

Parameters

component1 T1

component2 T2

entity Entity