mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 14:17:51 +08:00
1.4.5 finalize and release
This commit is contained in:
parent
fd20a1120b
commit
0fd382c1f6
@ -1,4 +1,4 @@
|
||||
# CppExplorer []()
|
||||
# CppExplorer []()
|
||||
|
||||
<p align="center">
|
||||
<img align="center" src="https://sinai-dev.github.io/images/thumbs/02.png">
|
||||
|
@ -85,11 +85,6 @@ namespace Explorer
|
||||
|
||||
if (type == null)
|
||||
{
|
||||
MelonLogger.Log("Could not get type for object or memberinfo!");
|
||||
if (memberInfo is MethodInfo)
|
||||
{
|
||||
MelonLogger.Log("is it void?");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -115,7 +115,14 @@ namespace Explorer
|
||||
if (m_object is Il2CppSystem.Object ilObject)
|
||||
{
|
||||
var iltype = ilObject.GetIl2CppType();
|
||||
return Type.GetType(iltype.AssemblyQualifiedName);
|
||||
if (Type.GetType(iltype.AssemblyQualifiedName) is Type type)
|
||||
{
|
||||
return type;
|
||||
}
|
||||
else
|
||||
{
|
||||
return ilObject.GetType();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ namespace Explorer
|
||||
var type = ReflectionHelpers.GetActualType(Target);
|
||||
if (type == null)
|
||||
{
|
||||
MelonLogger.Log($"Could not get underlying type for object..? Type: {Target?.GetType().Name}, ToString: {Target?.ToString()}");
|
||||
MelonLogger.Log($"Could not get underlying type for object! Type: {Target?.GetType().AssemblyQualifiedName}, Value ToString: {Target?.ToString()}");
|
||||
DestroyWindow();
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user