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

NavMeshWorld.GetDefaultWorld

Obsolete The experimental NavMeshWorld struct has been deprecated without replacement.

Declaration

public static NavMeshWorld GetDefaultWorld();

Description

Returns a reference to the single NavMeshWorld that can currently exist and be used in Unity.

The returned world comprises of all the NavMeshes and connections that are also used through the NavMesh-related structures.