[new] 支持Unity 2023
parent
3de931a3af
commit
d45974c6b4
|
@ -25,6 +25,11 @@
|
|||
"hybridclr" : { "branch":"v5.4.0"},
|
||||
"il2cpp_plus": { "branch":"v2022-tuanjie-5.4.0"}
|
||||
},
|
||||
{
|
||||
"unity_version":"2023",
|
||||
"hybridclr" : { "branch":"v5.4.0"},
|
||||
"il2cpp_plus": { "branch":"v6000-5.4.0"}
|
||||
},
|
||||
{
|
||||
"unity_version":"6000",
|
||||
"hybridclr" : { "branch":"v5.4.0"},
|
||||
|
|
|
@ -12,7 +12,7 @@ using System.IO;
|
|||
|
||||
namespace HybridCLR.MonoHook
|
||||
{
|
||||
#if UNITY_2021_1_OR_NEWER && !UNITY_6000_0_OR_NEWER
|
||||
#if UNITY_2021_1_OR_NEWER && !UNITY_2023_1_OR_NEWER
|
||||
[InitializeOnLoad]
|
||||
public class CopyStrippedAOTAssembliesHook
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ using System.IO;
|
|||
|
||||
namespace HybridCLR.MonoHook
|
||||
{
|
||||
#if UNITY_2022 || UNITY_6000_0_OR_NEWER
|
||||
#if UNITY_2022 || UNITY_2023_1_OR_NEWER
|
||||
[InitializeOnLoad]
|
||||
public class GetIl2CppFolderHook
|
||||
{
|
||||
|
|
|
@ -126,6 +126,7 @@ namespace HybridCLR.Editor.Installer
|
|||
case 2020: return "2020.3.0";
|
||||
case 2021: return "2021.3.0";
|
||||
case 2022: return "2022.3.0";
|
||||
case 2023: return "2023.2.0";
|
||||
case 6000: return "6000.0.0";
|
||||
default: return $"2020.3.0";
|
||||
}
|
||||
|
@ -145,7 +146,8 @@ namespace HybridCLR.Editor.Installer
|
|||
{
|
||||
return CompatibleType.Incompatible;
|
||||
}
|
||||
if ((version.major == 2019 && version.minor1 < 4) || (version.major >= 2020 && version.major < 6000 && version.minor1 < 3))
|
||||
if ((version.major == 2019 && version.minor1 < 4)
|
||||
|| (version.major >= 2020 && version.major <= 2022 && version.minor1 < 3))
|
||||
{
|
||||
return CompatibleType.MaybeIncompatible;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue