Files
Shutong Wu 93b4e0d3b1 refactor(brand): ProductInfo constant; standardize Editor UI to 'MCP for Unity'
Single ProductInfo.{ProductName,MenuRoot} const; routes all user-facing
'MCP For Unity' (capital F) display strings to it. Internal identifiers,
namespaces, and manifest.json 'Unity MCP' unchanged.

Claude-Session: https://claude.ai/code/session_01XFiuAUxNS9riUJFFBEHvui
2026-06-27 16:14:20 -07: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();
}
}
}