Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
- Добавлен компонент подмены спрайтов игрока перед началом игры. - Обновлены сцена уровня, префабы, шейдеры, настройки импорта и данные призов. - Зафиксирован embedded-пакет Unity MCP 9.6.8 и обновлены связанные файлы проекта.
30 lines
777 B
C#
30 lines
777 B
C#
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()
|
|
{
|
|
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();
|
|
}
|
|
}
|
|
}
|