Skip to content

Commit

Permalink
fix: show syncvar label
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpach committed Mar 22, 2021
1 parent bcfcc28 commit c32a940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Mirage/Editor/SyncVarAttributeDrawer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public override void OnGUI(Rect position, SerializedProperty property, GUIConten
var valueRect = new Rect(position.x, position.y, valueWidth, position.height);
var 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);
}

Expand Down

0 comments on commit c32a940

Please sign in to comment.