mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-28 02:52:24 +08:00
Fix SubContentWanted for InteractiveDictionary, remove redundant IValueTypes enum/dict
This commit is contained in:
@ -29,10 +29,18 @@ namespace UnityExplorer.Inspectors.Reflection
|
||||
}
|
||||
}
|
||||
|
||||
public override IValueTypes IValueType => IValueTypes.Dictionary;
|
||||
public override bool HasSubContent => true;
|
||||
public override bool SubContentWanted => (RefIDictionary?.Count ?? 1) > 0;
|
||||
public override bool WantInspectBtn => false;
|
||||
public override bool HasSubContent => true;
|
||||
// todo fix for il2cpp
|
||||
public override bool SubContentWanted
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_recacheWanted)
|
||||
return true;
|
||||
else return m_entries.Count > 0;
|
||||
}
|
||||
}
|
||||
|
||||
internal IDictionary RefIDictionary;
|
||||
|
||||
|
Reference in New Issue
Block a user