Signature.Get_T1,T2_().md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.Signature
Signature.Get<T1,T2>() Method
Returns a query Signature<T1,T2> containing the specified component types.
public static Friflo.Engine.ECS.Signature<T1,T2> Get<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
Friflo.Engine.ECS.Signature<T1,T2>
Remarks
It can be used to query entities with the specified component types with EntityStore.Query() methods.