Skip to content

Commit 2c3cc7d

Browse files
author
Chris Foulston
committed
support managed reference property type in "IsTypeExpandable"
1 parent d90e458 commit 2c3cc7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Editor/ReorderableList.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1809,7 +1809,9 @@ private bool IsTypeExpandable(SerializedPropertyType type) {
18091809
case SerializedPropertyType.Vector4:
18101810
case SerializedPropertyType.Quaternion:
18111811
case SerializedPropertyType.ArraySize:
1812-
1812+
#if UNITY_2019_3_OR_NEWER
1813+
case SerializedPropertyType.ManagedReference:
1814+
#endif
18131815
return true;
18141816

18151817
default:

0 commit comments

Comments
 (0)