文档

Unity Engine

Download Unity

Unity Engine

EntityQueries

The query objects cached by this system.
阅读时间1 分钟最后更新于 19 天前

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.