暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

NavMeshUpdaterEditor.cs 659B

12345678910111213141516171819202122
  1. #if UNITY_2022_2_OR_NEWER
  2. using Unity.AI.Navigation.Editor.Converter;
  3. using UnityEditor;
  4. using UnityEngine;
  5. namespace Unity.AI.Navigation.Updater
  6. {
  7. internal static class NavMeshUpdaterEditor
  8. {
  9. [MenuItem("Window/AI/NavMesh Updater", false, 50)]
  10. public static void ShowWindow()
  11. {
  12. SystemConvertersEditor wnd = EditorWindow.GetWindow<SystemConvertersEditor>();
  13. wnd.titleContent = new GUIContent("NavMesh Updater");
  14. wnd.DontSaveToLayout(wnd);
  15. wnd.maxSize = new Vector2(650f, 4000f);
  16. wnd.minSize = new Vector2(650f, 400f);
  17. wnd.Show();
  18. }
  19. }
  20. }
  21. #endif