Files
2026-07-13 12:49:17 +08:00

31 lines
822 B
C#

using MCPForUnity.Editor.Constants;
using MCPForUnity.Editor.Setup;
using MCPForUnity.Editor.Windows;
using UnityEditor;
using UnityEngine;
namespace MCPForUnity.Editor.MenuItems
{
public static class MCPForUnityMenu
{
[MenuItem(ProductInfo.MenuRoot + "/Toggle MCP Window %#m", priority = 1)]
public static void ToggleMCPWindow()
{
MCPForUnityEditorWindow.ShowWindow();
}
[MenuItem(ProductInfo.MenuRoot + "/Local Setup Window", priority = 2)]
public static void ShowSetupWindow()
{
SetupWindowService.ShowSetupWindow();
}
[MenuItem(ProductInfo.MenuRoot + "/Edit EditorPrefs", priority = 3)]
public static void ShowEditorPrefsWindow()
{
EditorPrefsWindow.ShowWindow();
}
}
}