Dispose()
Disposes this EntityQuery instance.
Read time 1 minuteLast updated a day ago
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.