Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 2.25 KB

Signature.md

File metadata and controls

26 lines (20 loc) · 2.25 KB

Signature Class

A Signature specify the IComponent types used to query entity components
using the EntityStore.Query(Signature) methods.

public static class Signature

Inheritance System.Object 🡒 Signature

Remarks

In contrast to ComponentTypes the order of IComponent's stored in a signature is relevant for queries.
The maximum number of IComponent's stored in a signature is currently 5.

Methods
Get<T1,T2,T3,T4,T5>() Returns a query Signature<T1,T2,T3,T4,T5> containing the specified component types.
Get<T1,T2,T3,T4>() Returns a query Signature<T1,T2,T3,T4> containing the specified component types.
Get<T1,T2,T3>() Returns a query Signature<T1,T2,T3> containing the specified component types.
Get<T1,T2>() Returns a query Signature<T1,T2> containing the specified component types.
Get<T1>() Returns a query Signature<T1> containing the specified component type.