mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
fix: Fixed field lable not shown for SyncVars
This commit is contained in:
parent
c957500710
commit
f70946a362
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user