diff --git a/Editor/TriProperty.cs b/Editor/TriProperty.cs index 8fdc6cd..48069a7 100644 --- a/Editor/TriProperty.cs +++ b/Editor/TriProperty.cs @@ -575,7 +575,8 @@ namespace TriInspector } if (property._definition.FieldType.IsPrimitive || - property._definition.FieldType == typeof(string)) + property._definition.FieldType == typeof(string) || + typeof(UnityEngine.Object).IsAssignableFrom(property._definition.FieldType)) { return TriPropertyType.Primitive; }