IL2CPP List/Dict support, cleanups

This commit is contained in:
Sinai committed 2021-05-17 21:48:39 +10:00
1 parent 7dbf694642
commit d7b0fff949
7 files changed
+117 -95

No files matched your search

+2 -2
View File
@@ -183,9 +183,9 @@ namespace UnityExplorer.UI.CacheObject
return ValueState.Color;
else if (InteractiveValueStruct.SupportsType(type))
return ValueState.ValueStruct;
else if (typeof(IDictionary).IsAssignableFrom(type)) //(ReflectionUtility.IsDictionary(type))
else if (ReflectionUtility.IsDictionary(type))
return ValueState.Dictionary;
else if (!typeof(Transform).IsAssignableFrom(type) && typeof(IEnumerable).IsAssignableFrom(type)) //ReflectionUtility.IsEnumerable(type))
else if (!typeof(Transform).IsAssignableFrom(type) && ReflectionUtility.IsEnumerable(type))
return ValueState.Collection;
else
return ValueState.Unsupported;