GetDefaultWorld()
Returns a reference to the single NavMeshWorld that can currently exist and be used in Unity.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Experimental.AI
- Assembly: UnityEngine.AIModule
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.