Skip to content

Commit 706de3f

Browse files
committed
Fix compilation errors for Unity 2019
1 parent 594083e commit 706de3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Editor Toolbox/Editor/Utilities/PropertyUtility.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ public static void OverrideLabelByValue(GUIContent label, SerializedProperty pro
428428
case SerializedPropertyType.ObjectReference:
429429
label.text = property.objectReferenceValue ? property.objectReferenceValue.ToString() : "null";
430430
break;
431-
#if UNITY_2019_3_OR_NEWER
431+
#if UNITY_2021_3_OR_NEWER
432432
case SerializedPropertyType.ManagedReference:
433433
label.text = property.managedReferenceValue?.ToString() ?? "null";
434434
break;

0 commit comments

Comments
 (0)