Documentation

Unity Engine

Unity Engine

GetDefaultWorld()

Returns a reference to the single NavMeshWorld that can currently exist and be used in Unity.
Read time 1 minuteLast updated a month ago

Definition

Warning
Deprecated. The experimental NavMeshWorld struct has been deprecated. Use NavWorld instead.
public static NavMeshWorld GetDefaultWorld()

Returns

Type

Description

NavMeshWorld

Remarks

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