Documentation

Unity Engine


Unity Engine


QueryBuilder()

Gives a fluent API for constructing EntityQuery s similar to the EntityQueryBuilder. This API statically constructs the query as part of the system, and creates the query in the system's OnCreate. Calling this method should allow the construction of EntityQueries with almost no run-time performance overhead."
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static SystemAPIQueryBuilder QueryBuilder()

Returns

Type

Description

SystemAPIQueryBuilderAn instance of
SystemAPIQueryBuilder
, which can be used to fluently construct queries.

Remarks

Gives a fluent API for constructing EntityQueries similar to the EntityQueryBuilder. This API statically constructs the query as part of the system, and creates the query in the system's OnCreate. Calling this method should allow for construction of EntityQueries with almost no run-time performance overhead."