diff --git a/Data~/hybridclr_version.json b/Data~/hybridclr_version.json index 3a67e84..e46123b 100644 --- a/Data~/hybridclr_version.json +++ b/Data~/hybridclr_version.json @@ -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"} } ] } \ No newline at end of file diff --git a/Editor/Installer/InstallerController.cs b/Editor/Installer/InstallerController.cs index 1b77df4..c4ada52 100644 --- a/Editor/Installer/InstallerController.cs +++ b/Editor/Installer/InstallerController.cs @@ -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