19 lines
375 B
C#
19 lines
375 B
C#
#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
|