mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 18:08:05 +08:00
Simplify string obfuscation processing
This commit is contained in:
1 parent
8534c08f49
commit
56875e0641
3 files changed
+15
-28
No files matched your search
@@ -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