Disposing Nav3D

If you want to load another game scene and stop using Nav3D, or just want to stop using Nav3D in the current game scene, you need to deinitialize Nav3D. This will stop all running threads and release the allocated memory.
This can be done by calling the Nav3DManager.Dispose3DNav() method.

If you do not call Nav3DManager.Dispose3DNav() before loading a new game scene, then it will continue to function, all objects will be saved, and resources will not be released. This can be useful if you are using a separate loading scene where you initialize Nav3D and processing obstacles.