[new] 支持hybridclr安装到全局位置,但仍然需要自己复制文件。
parent
85fcd0481a
commit
7fea92cc75
|
@ -15,8 +15,9 @@ namespace HybridCLR.Editor.BuildProcessors
|
|||
|
||||
public void OnPreprocessBuild(BuildReport report)
|
||||
{
|
||||
HybridCLRGlobalSettings globalSettings = SettingsUtil.GlobalSettings;
|
||||
#if !UNITY_2020_1_OR_NEWER || !UNITY_IOS
|
||||
if (!SettingsUtil.Enable)
|
||||
if (!globalSettings.enable || globalSettings.useGlobalIl2Cpp)
|
||||
{
|
||||
string oldIl2cppPath = Environment.GetEnvironmentVariable("UNITY_IL2CPP_PATH");
|
||||
if (!string.IsNullOrEmpty(oldIl2cppPath))
|
||||
|
@ -35,7 +36,7 @@ namespace HybridCLR.Editor.BuildProcessors
|
|||
}
|
||||
}
|
||||
#endif
|
||||
if (!SettingsUtil.Enable)
|
||||
if (!globalSettings.enable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "com.focus-creative-games.hybridclr_unity",
|
||||
"version": "0.3.6",
|
||||
"version": "0.3.7",
|
||||
"displayName": "HybridCLR",
|
||||
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
|
||||
"category": "Runtime",
|
||||
|
|
Loading…
Reference in New Issue