mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-17 00:27:56 +08:00
Simplify string obfuscation processing
This commit is contained in:
@ -166,15 +166,14 @@ namespace UnityExplorer.UI.Utility
|
||||
toString = ex.ReflectionExToString();
|
||||
}
|
||||
|
||||
string _ = null;
|
||||
toString = ReflectionUtility.ProcessTypeInString(type, toString, ref _);
|
||||
toString = ReflectionUtility.ProcessTypeInString(type, toString);
|
||||
|
||||
#if CPP
|
||||
if (value is Il2CppSystem.Type cppType)
|
||||
{
|
||||
var monoType = Il2CppReflection.GetUnhollowedType(cppType);
|
||||
if (monoType != null)
|
||||
toString = ReflectionUtility.ProcessTypeInString(monoType, toString, ref _);
|
||||
toString = ReflectionUtility.ProcessTypeInString(monoType, toString);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user