Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.46f1 | Compatible | Compatible | Compatible |
2022.3.6f1 | Compatible | Compatible | Compatible |
Add [Button()] above any method in your script, and a button with the method's name will automatically appear in the Unity Inspector. Clicking the button executes the method instantly, whether in Editor mode or during runtime. No need to write custom editor code for simple button functionality—save time and boost productivity!
The [Button()] attribute supports customization with parameters like:
> text (custom button label)
> width & height (button dimensions)
> bgColor & textColor (button and text colors)
> margin (spacing around the button).
> hover effect
> 100+ more arguments available
It also supports methods with parameters, allowing you to input values directly in the Inspector before execution. This tool is perfect for debugging, triggering events, testing features, or streamlining workflows.
- Ease of Use: Add [Button()] to any method to generate an Inspector button with minimal effort.
- Return Value Logging: Functions returning non-void values will have their outputs logged to the Unity console, aiding debugging
- Button Grouping: Organize buttons into groups on the same row using the optional "groupTag" property
- Extensive Customization: Customize button appearance through properties like dimensions, colors, padding, borders, text styles, and animations—both in normal and hover states
- Parameter Support: Automatically creates input fields for methods with parameters, handling common data types such as Integers, Floats, Strings, Booleans, Vector2, Vector3, Object, Colors, Enum , Double , Quaternion , GameObject