Better number ToString formatting, cleanups

This commit is contained in:
Sinai committed 2021-05-13 00:58:23 +10:00
1 parent b61020fe67
commit 275225a284
8 files changed
+92 -93

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ namespace UnityExplorer.UI.CacheObject
return ValueState.ValueStruct;
else if (typeof(IDictionary).IsAssignableFrom(type))
return ValueState.Dictionary;
else if (typeof(IEnumerable).IsAssignableFrom(type))
else if (!typeof(Transform).IsAssignableFrom(type) && typeof(IEnumerable).IsAssignableFrom(type))
return ValueState.Collection;
else
return ValueState.Unsupported;