Documentation

Unity Engine


Unity Engine


EntityQueries

The query objects cached by this system.
Read time 1 minuteLast updated 17 hours ago

Definition

  • Type: Property
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EntityQuery[] EntityQueries { get; }

Remarks

A system caches any queries it implicitly creates through the IJob interfaces or EntityQueryBuilder, that you create explicitly by calling ComponentSystemBase.GetEntityQuery, or that you add to the system as a required query with ComponentSystemBase.RequireForUpdate. Implicit queries may be created lazily and not exist before a system has run for the first time.