From 6321fcc107fb38facacb1b90dda42f6d7dce52a0 Mon Sep 17 00:00:00 2001 From: Anders Ejlersen Date: Sat, 4 Dec 2021 11:32:10 +0100 Subject: [PATCH] Fixed missing label, when using Naming attribute --- Editor/Drawers/DrawerNaming.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/Drawers/DrawerNaming.cs b/Editor/Drawers/DrawerNaming.cs index 6b0c7c2..6576f1f 100644 --- a/Editor/Drawers/DrawerNaming.cs +++ b/Editor/Drawers/DrawerNaming.cs @@ -21,7 +21,7 @@ namespace Module.Inspector.Editor var rect0 = new Rect(position.x, position.y, position.width - WIDTH, position.height); var rect1 = new Rect(rect0.xMax, position.y, WIDTH, position.height); - EditorGUI.PropertyField(rect0, property); + EditorGUI.PropertyField(rect0, property, label); if (GUI.Button(rect1, "Go")) {