#if UNITY_2022_2_OR_NEWER using UnityEditor.AI; using UnityEditor; namespace Unity.AI.Navigation.Editor { internal static class ObsoleteNavigationWindowMenuEntry { [MenuItem("Window/AI/Navigation (Obsolete)", false, 1)] static void SetupWindow() { NavMeshEditorHelpers.SetupLegacyNavigationWindow(); } } } #endif