ComponentTypes.Has_T1,T2,T3_().md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.ComponentTypes

ComponentTypes.Has<T1,T2,T3>() Method

Return true if it contains all passed IComponent types T1, T2 and T3.

public readonly bool Has<T1,T2,T3>()
    where T1 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType
    where T2 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType
    where T3 : struct, Friflo.Engine.ECS.IComponent, System.ValueType, System.ValueType;

Type parameters

T1

T2

T3

Returns

System.Boolean