feat: installer support 6000.5.x

This commit is contained in:
walon
2026-08-18 12:19:53 +08:00
parent ca7f87b6a7
commit 6e635f78bf
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -39,6 +39,11 @@
"unity_version":"6000.3.x",
"hybridclr" : { "branch":"v6000.3.x-8.13.0"},
"il2cpp_plus": { "branch":"v6000.3.x-8.13.0"}
},
{
"unity_version":"6000.5.x",
"hybridclr" : { "branch":"v6000.5.x-8.14.0"},
"il2cpp_plus": { "branch":"v6000.5.x-8.14.0"}
}
]
}
+4
View File
@@ -41,6 +41,8 @@ namespace HybridCLR.Editor.Installer
return _curVersion.isTuanjieEngine? v.unity_version == $"{_curVersion.major}-tuanjie"
#if UNITY_6000_3_OR_NEWER
: v.unity_version == "6000.3.x"
#elif UNITY_6000_5_OR_NEWER
: v.unity_version == "6000.5.x"
#else
: v.unity_version == _curVersion.major.ToString()
#endif
@@ -141,6 +143,8 @@ namespace HybridCLR.Editor.Installer
case 2023: return "2023.2.0";
#if UNITY_6000_3_OR_NEWER
case 6000: return "6000.3.0";
#elif UNITY_6000_5_OR_NEWER
case 6000: return "6000.5.0";
#else
case 6000: return "6000.0.0";
#endif