Skip to content

Commit b753d05

Browse files
committed
Fix Test Framework dependencies and USS warning / 테스트 프레임워크 의존성 및 USS 경고 수정
- Add com.unity.test-framework dependency - Add TestRunner assembly references to Editor asmdef - Fix font-style warning in Common.uss
1 parent 2eea45e commit b753d05

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

MCPForUnity/Editor/Helpers/AssetPathUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ public static string GetMcpServerGitUrl()
291291
292292
// Fallback to git URL if local path cannot be determined
293293
// Note: pip/uv uses '#subdirectory=' syntax, not '?path='
294-
return "git+https://github.com/choej2303/unity-mcp-gg.git@main#subdirectory=MCPForUnity/Server~";
294+
return "git+https://github.com/CoplayDev/unity-mcp.git@v{version}#subdirectory=MCPForUnity/Server~";
295295
*/
296296
}
297297

MCPForUnity/Editor/MCPForUnity.Editor.asmdef

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"rootNamespace": "MCPForUnity.Editor",
44
"references": [
55
"MCPForUnity.Runtime",
6-
"GUID:560b04d1a97f54a46a2660c3cc343a6f"
6+
"GUID:560b04d1a97f54a46a2660c3cc343a6f",
7+
"UnityEditor.TestRunner",
8+
"UnityEngine.TestRunner"
79
],
810
"includePlatforms": [
911
"Editor"

MCPForUnity/Editor/Windows/Components/Common.uss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
}
360360

361361
.tool-parameters {
362-
font-style: italic;
362+
-unity-font-style: italic;
363363
}
364364

365365
.tool-item-actions {

MCPForUnity/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"documentationUrl": "https://github.com/CoplayDev/unity-mcp",
88
"licensesUrl": "https://github.com/CoplayDev/unity-mcp/blob/main/LICENSE",
99
"dependencies": {
10-
"com.unity.nuget.newtonsoft-json": "3.0.2"
10+
"com.unity.nuget.newtonsoft-json": "3.0.2",
11+
"com.unity.test-framework": "1.1.33"
1112
},
1213
"keywords": [
1314
"unity",

0 commit comments

Comments
 (0)