Fix issue with float struct check

This commit is contained in:
Sinai 2021-04-07 17:20:54 +10:00
parent 2310f2f7ce
commit b68145385c

View File

@ -61,6 +61,9 @@ namespace UnityExplorer.UI.InteractiveValues
if (!type.IsValueType) if (!type.IsValueType)
return false; return false;
if (string.IsNullOrEmpty(type.AssemblyQualifiedName))
return false;
if (_typeSupportCache.TryGetValue(type.AssemblyQualifiedName, out bool ret)) if (_typeSupportCache.TryGetValue(type.AssemblyQualifiedName, out bool ret))
return ret; return ret;