ComponentTypes.Has_T1,T2_().md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS.ComponentTypes

ComponentTypes.Has<T1,T2>() Method

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

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

Type parameters

T1

T2

Returns

System.Boolean

Contents

  1. 0.1Friflo.Engine.ECS.ComponentTypes
  2. 1() Method">ComponentTypes.Has&#x3C;T1,T2>() Method