| Parameter | Description |
|---|---|
| requiredComponents | An array containing the component types. |
EntityQuery The EntityQuery derived from the specified array of component types.
Creates a EntityQuery from an array of component types.
Additional resources: EntityQueryDesc
| Parameter | Description |
|---|---|
| queriesDesc | An array of query descsriptions identifying a sets of component types to match. |
EntityQuery The EntityQuery corresponding to the queryDesc.
Creates a EntityQuery from an EntityQueryDesc.
Warning: The ability to construct an EntityQuery from multiple query descriptions is not a supported workflow. Queries with multiple query descriptions are not guaranteed to function correctly in all contexts. In general, try to create queries with a single description. For more information, refer to Creating entity queries.
| Parameter | Description |
|---|---|
| queriesDesc | A queryDesc identifying a set of component types. |
EntityQuery The EntityQuery corresponding to the queryDesc.
Creates an EntityQuery from an EntityQueryBuilder.