[Fix] Move UnityMCP

This commit is contained in:
2026-02-27 04:19:03 +07:00
parent 263259f3fc
commit 3b02df06fa
453 changed files with 1 additions and 1 deletions
@@ -0,0 +1,36 @@
using MCPForUnity.Editor.Setup;
using MCPForUnity.Editor.Windows;
using UnityEditor;
using UnityEngine;
namespace MCPForUnity.Editor.MenuItems
{
public static class MCPForUnityMenu
{
[MenuItem("Window/MCP For Unity/Toggle MCP Window %#m", priority = 1)]
public static void ToggleMCPWindow()
{
if (MCPForUnityEditorWindow.HasAnyOpenWindow())
{
MCPForUnityEditorWindow.CloseAllOpenWindows();
}
else
{
MCPForUnityEditorWindow.ShowWindow();
}
}
[MenuItem("Window/MCP For Unity/Local Setup Window", priority = 2)]
public static void ShowSetupWindow()
{
SetupWindowService.ShowSetupWindow();
}
[MenuItem("Window/MCP For Unity/Edit EditorPrefs", priority = 3)]
public static void ShowEditorPrefsWindow()
{
EditorPrefsWindow.ShowWindow();
}
}
}
@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 42b27c415aa084fe6a9cc6cf03979d36
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 329908
packageName: MCP for Unity | AI Driven Development
packageVersion: 9.0.3
assetPath: Assets/MCPForUnity/Editor/MenuItems/MCPForUnityMenu.cs
uploadId: 855486