We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad8836f commit 05d27c2Copy full SHA for 05d27c2
1 file changed
Assets/Editor Toolbox/Editor/Drawers/Toolbox/Decorator/EditorButtonAttributeDrawer.cs
@@ -82,7 +82,7 @@ protected override void OnGuiCloseSafe(EditorButtonAttribute attribute)
82
using (new EditorGUI.DisabledScope(disable))
83
{
84
var label = string.IsNullOrEmpty(attribute.ExtraLabel)
85
- ? attribute.MethodName
+ ? ObjectNames.NicifyVariableName(attribute.MethodName)
86
: attribute.ExtraLabel;
87
var tooltip = attribute.Tooltip;
88
var content = new GUIContent(label, tooltip);
0 commit comments