Skip to content

Commit e29859a

Browse files
committed
fix: standardize "MCP For Unity" capitalization in window titles and dialogs
1 parent d893a45 commit e29859a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

UnityMcpBridge/Editor/Helpers/PackageInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private static void InstallServerOnFirstLoad()
3636
catch (System.Exception ex)
3737
{
3838
Debug.LogError($"<b><color=#2EA3FF>MCP-FOR-UNITY</color></b>: Failed to install Python server: {ex.Message}");
39-
Debug.LogWarning("<b><color=#2EA3FF>MCP-FOR-UNITY</color></b>: You may need to manually install the Python server. Check the MCP for Unity Editor Window for instructions.");
39+
Debug.LogWarning("<b><color=#2EA3FF>MCP-FOR-UNITY</color></b>: You may need to manually install the Python server. Check the MCP For Unity Window for instructions.");
4040
}
4141
}
4242
}

UnityMcpBridge/Editor/Windows/MCPForUnityEditorWindow.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class MCPForUnityEditorWindow : EditorWindow
4848
[MenuItem("Window/MCP For Unity")]
4949
public static void ShowWindow()
5050
{
51-
GetWindow<MCPForUnityEditorWindow>("MCP for Unity");
51+
GetWindow<MCPForUnityEditorWindow>("MCP For Unity");
5252
}
5353

5454
private void OnEnable()
@@ -235,7 +235,7 @@ private void DrawHeader()
235235

236236
GUI.Label(
237237
new Rect(titleRect.x + 15, titleRect.y + 8, titleRect.width - 30, titleRect.height),
238-
"MCP for Unity Editor",
238+
"MCP For Unity",
239239
titleStyle
240240
);
241241

@@ -381,12 +381,12 @@ private void DrawServerStatusSection()
381381
bool ok = global::MCPForUnity.Editor.Helpers.ServerInstaller.RepairPythonEnvironment();
382382
if (ok)
383383
{
384-
EditorUtility.DisplayDialog("MCP for Unity", "Python environment repaired.", "OK");
384+
EditorUtility.DisplayDialog("MCP For Unity", "Python environment repaired.", "OK");
385385
UpdatePythonServerInstallationStatus();
386386
}
387387
else
388388
{
389-
EditorUtility.DisplayDialog("MCP for Unity", "Repair failed. Please check Console for details.", "OK");
389+
EditorUtility.DisplayDialog("MCP For Unity", "Repair failed. Please check Console for details.", "OK");
390390
}
391391
}
392392
}

0 commit comments

Comments
 (0)