Version: 2018.1
Experimental: this API is experimental and might be changed or removed in the future.

NavMeshWorld.GetDefaultWorld

Switch to Manual
public static Experimental.AI.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.