Documentation

Unity Engine


Unity Engine


Build()

Get or create an EntityQuery matching the query description(s).
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EntityQuery Build()

Returns

Type

Description

EntityQueryThe query

Remarks

If an
EntityQuery
in the containing system's existing cache matches the defined query, it gets retrieved. Otherwise, a new
EntityQuery
is created and then added to the containing system's cache.