We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 85937c4 + 05d27c2 commit 3d0ee6fCopy full SHA for 3d0ee6f
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