From 76d4b5d5af98ea2112a697f09c91c6635cc0b5b4 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 16 May 2025 20:02:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DUnity=202019-2021=E4=B8=8A?= =?UTF-8?q?=E7=9A=84=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Obfuz.Editor.asmdef | 10 +--------- Editor/Unity/ObfuscationProcess.cs | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Editor/Obfuz.Editor.asmdef b/Editor/Obfuz.Editor.asmdef index be19d71..ec635cb 100644 --- a/Editor/Obfuz.Editor.asmdef +++ b/Editor/Obfuz.Editor.asmdef @@ -1,8 +1,6 @@ { "name": "Obfuz.Editor", - "rootNamespace": "", "references": [ - "GUID:7e4de3067c2ab5c43a03ac49273dfb68", "GUID:370c0d0004ef2414cb803d3ffd331dce" ], "includePlatforms": [ @@ -14,12 +12,6 @@ "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [], - "versionDefines": [ - { - "name": "com.code-philosophy.hybridclr", - "expression": "", - "define": "USE_HYBRIDCLR" - } - ], + "versionDefines": [], "noEngineReferences": false } \ No newline at end of file diff --git a/Editor/Unity/ObfuscationProcess.cs b/Editor/Unity/ObfuscationProcess.cs index 80e2db9..f9fbff8 100644 --- a/Editor/Unity/ObfuscationProcess.cs +++ b/Editor/Unity/ObfuscationProcess.cs @@ -27,7 +27,7 @@ namespace Obfuz.Unity public void OnPostBuildPlayerScriptDLLs(BuildReport report) { -#if UNITY_2019 +#if !UNITY_2022_1_OR_NEWER RunObfuscate(report.files); #else RunObfuscate(report.GetFiles());