diff --git a/Assets/Mirror/Editor/SyncVarAttributeDrawer.cs b/Assets/Mirror/Editor/SyncVarAttributeDrawer.cs index cfb2e712e..2356a5e23 100644 --- a/Assets/Mirror/Editor/SyncVarAttributeDrawer.cs +++ b/Assets/Mirror/Editor/SyncVarAttributeDrawer.cs @@ -16,7 +16,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten Rect valueRect = new Rect(position.x, position.y, valueWidth, position.height); Rect labelRect = new Rect(position.x + valueWidth, position.y, syncVarIndicatorRect.x, position.height); - EditorGUI.PropertyField(valueRect, property, true); + EditorGUI.PropertyField(valueRect, property, label, true); GUI.Label(labelRect, syncVarIndicatorContent, EditorStyles.miniLabel); }