Skip to content

[Feature Request] EditorButton directly on methods #28

Description

@cspotcode

The EditorButton example shows placing a button before a field by annotating the field.
https://github.com/arimger/Unity-Editor-Toolbox#toolboxdecoratorattributes

Is there any way to place an attribute directly on a method? Similar to https://dbrizov.github.io/na-docs/attributes/drawer_attributes/button.html

I checked the code for these solutions. They appear to use reflection in their CustomEditor(typeof(Object)... implementations to query for all annotated methods.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions