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

返回对当前存在并在 Unity 中使用的单个 NavMeshWorld 的引用。

返回的世界包含所有导航网格和连接,这些导航网格和连接也可通过 NavMesh 相关的结构使用。