Method Dispose
Dispose()
Disposes this EntityQuery instance.
Declaration
public void Dispose()
Remarks
Do not dispose EntityQuery instances accessed using GetEntityQuery(ComponentType[]). Systems automatically dispose of their own entity queries.