mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-17 08:37:49 +08:00
3.1.7
* Added standalone release build (thanks @Alloc86) * Improved formatting for ToString methods which accept an IFormatProvider * When editing a struct, the reference to the parent member will now be updated if you modify the struct values.
This commit is contained in:
@ -38,7 +38,7 @@ namespace UnityExplorer.Inspectors
|
||||
}
|
||||
}
|
||||
|
||||
public void Inspect(object obj)
|
||||
public void Inspect(object obj, CacheObjectBase parentMember = null)
|
||||
{
|
||||
#if CPP
|
||||
obj = obj.Il2CppCast(ReflectionHelpers.GetActualType(obj));
|
||||
@ -76,6 +76,9 @@ namespace UnityExplorer.Inspectors
|
||||
else
|
||||
inspector = new InstanceInspector(obj);
|
||||
|
||||
if (inspector is ReflectionInspector ri)
|
||||
ri.ParentMember = parentMember;
|
||||
|
||||
m_currentInspectors.Add(inspector);
|
||||
SetInspectorTab(inspector);
|
||||
}
|
||||
|
Reference in New Issue
Block a user