From 7fea92cc755a4aaa38323b6965287356e9ba4b37 Mon Sep 17 00:00:00 2001 From: walon Date: Sun, 9 Oct 2022 16:13:23 +0800 Subject: [PATCH] =?UTF-8?q?[new]=20=E6=94=AF=E6=8C=81hybridclr=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=88=B0=E5=85=A8=E5=B1=80=E4=BD=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E4=BD=86=E4=BB=8D=E7=84=B6=E9=9C=80=E8=A6=81=E8=87=AA=E5=B7=B1?= =?UTF-8?q?=E5=A4=8D=E5=88=B6=E6=96=87=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/BuildProcessors/CheckSettings.cs | 5 +++-- package.json | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Editor/BuildProcessors/CheckSettings.cs b/Editor/BuildProcessors/CheckSettings.cs index 2c181c2..76d0a88 100644 --- a/Editor/BuildProcessors/CheckSettings.cs +++ b/Editor/BuildProcessors/CheckSettings.cs @@ -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; } diff --git a/package.json b/package.json index 4a025ba..0268fd9 100644 --- a/package.json +++ b/package.json @@ -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",