From ac6ca08d87ab8a7b0294ba93d950ce4053782108 Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 10 Jun 2025 08:29:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96InstinctPass?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/ObfusPasses/Instinct/InstinctPass.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/ObfusPasses/Instinct/InstinctPass.cs b/Editor/ObfusPasses/Instinct/InstinctPass.cs index d894ee8..d00e1c3 100644 --- a/Editor/ObfusPasses/Instinct/InstinctPass.cs +++ b/Editor/ObfusPasses/Instinct/InstinctPass.cs @@ -87,7 +87,7 @@ namespace Obfuz.ObfusPasses.Instinct return false; } MethodDef methodDef = method.ResolveMethodDef(); - if (methodDef == null || methodDef.DeclaringType.FullName != "Obfuz.ObfuscationInstincts" || methodDef.DeclaringType.DefinitionAssembly.Name != ConstValues.ObfuzRuntimeAssemblyName) + if (methodDef == null || methodDef.DeclaringType.Name != "ObfuscationInstincts" || methodDef.DeclaringType.DefinitionAssembly.Name != ConstValues.ObfuzRuntimeAssemblyName) { return false; }