Dispose()
Disposes this EntityQuery instance.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void Dispose()
Remarks
Do not dispose EntityQuery instances accessed using ComponentSystemBase.GetEntityQuery. Systems automatically dispose of their own entity queries.