mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-01-09 10:38:59 +08:00
fix SubContentWanted logic for InteractiveEnumerable
This commit is contained in:
parent
8acc85061d
commit
2e96d09f67
@ -24,9 +24,17 @@ namespace UnityExplorer.Inspectors.Reflection
|
||||
|
||||
public override IValueTypes IValueType => IValueTypes.Enumerable;
|
||||
|
||||
public override bool HasSubContent => true;
|
||||
public override bool SubContentWanted => (RefIList?.Count ?? 1) > 0;
|
||||
public override bool WantInspectBtn => false;
|
||||
public override bool HasSubContent => true;
|
||||
public override bool SubContentWanted
|
||||
{
|
||||
get
|
||||
{
|
||||
if (m_recacheWanted)
|
||||
return true;
|
||||
else return m_entries.Count > 0;
|
||||
}
|
||||
}
|
||||
|
||||
internal IEnumerable RefIEnumerable;
|
||||
internal IList RefIList;
|
||||
|
Loading…
x
Reference in New Issue
Block a user