Unity 中没有 class 用于在代码中以编辑器模式构建导航网格吗?
Is there no a class in Unity for building navmesh in editor mode in code?
之前是NavMeshBuilder,但是5.5版本就没有了class。
如何在编辑器模式下用代码烘焙 NavMesh?
编辑 1
我不想在运行时烘焙导航网格。
我想要做的就是通过我的代码而不是通过导航选项卡在编辑器模式(不是播放模式)中烘焙 navMesh。
还有可能吗?
只需调用构建导航网格的方法即可。
我在 NavMeshBuilder 的新路径中不正确。
我在 UnityEngine.AI 中搜索了它,但现在在 UnityEditor.AI
中搜索了它
之前是NavMeshBuilder,但是5.5版本就没有了class。
如何在编辑器模式下用代码烘焙 NavMesh?
编辑 1
我不想在运行时烘焙导航网格。 我想要做的就是通过我的代码而不是通过导航选项卡在编辑器模式(不是播放模式)中烘焙 navMesh。 还有可能吗? 只需调用构建导航网格的方法即可。
我在 NavMeshBuilder 的新路径中不正确。 我在 UnityEngine.AI 中搜索了它,但现在在 UnityEditor.AI
中搜索了它