mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 01:48:07 +08:00
fix SubContentWanted logic for InteractiveEnumerable
This commit is contained in:
1 parent
8acc85061d
commit
2e96d09f67
1 file changed
+10
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user