This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

NavMeshQuery.Dispose

public void Dispose();

Description

Destroys the NavMeshQuery and deallocates all memory used by it.