Documentation

Unity Engine

Download Unity

Unity Engine

Dispose()

Disposes this EntityQuery instance.
Read time 1 minuteLast updated a month 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.