wuxianshengcong/Library/PackageCache/com.unity.ai.navigation@1.1.5/Editor/ObsoleteNavigationWindowMenuEntry.cs

19 lines
375 B
C#
Raw Permalink Normal View History

2025-01-02 14:49:00 +08:00
#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