Edit of asset "Ezpz Inspector" Accepted

Old/Current New/Edit
Title Ezpz Inspector Ezpz Inspector
Description Custom Inspector helper for Godot C# script.

Easily create a button in Inspector using [ExportButton] attribute.

How to Use:
- Add "using Calcatz.EzpzInspector;" on top of your script.
- Add [Tool] attribute on top of your class declaration. This will enable your C# script to be instantiated, thus, modifiable during edit mode.
- Add [ExportButton] attribute on top of your method declaration to create a button for that method. You can also use this for static methods. Please note that the button currently will not pass arguments.
- Add [UpperDescription("My description")] attribute on top of your field or property declaration to add additional label on top of the exported property.
- Since [Tool] attribute is used, other Godot's built-in methods will also be executed during edit mode. In this case, make sure to use "Engine.IsEditorHint()" to prevent your certain code from being executed during edit mode.

Here are optional attributes that you can add to do more advanced stylings:
- Add [ControlMargin] on top of your method to add margins to the button.
- Add [ControlSize] on top of your method to change the size of the button.
- Add [ControlModulateColor] on top of your method to modulate the color of the button. This will modulate based on the button style of your theme.
Note: For stylings, make sure the method also has ExportButton attribute. If target is a field or property, make sure it has UpperDescription attribute. Or else, the styling attributes will have no target.
Custom Inspector helper for Godot C# script.

Easily create a button in Inspector using [ExportButton] attribute.

How to Use:
- Add "using Calcatz.EzpzInspector;" on top of your script.
- Add [Tool] attribute on top of your class declaration. This will enable your C# script to be instantiated, thus, modifiable during edit mode.
- Add [ExportButton] attribute on top of your method declaration. Please note that the button currently will not pass arguments.
- Since [Tool] attribute is used, other Godot's built-in methods will also be executed during edit mode. In this case, make sure to use "Engine.IsEditorHint()" to prevent your certain code from being executed during edit mode.
Category Tools Tools
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/dilaura-exp/Ezpz-Inspector https://github.com/dilaura-exp/Ezpz-Inspector
Issues Url https://github.com/dilaura-exp/Ezpz-Inspector/issues https://github.com/dilaura-exp/Ezpz-Inspector/issues
Godot version Godot 4.1 Godot 4.1
Version String 1.2.1 1.0.0
Download Commit 34fb71c2e9799903feb1c5863d12c5265cc10cf4 606923af4d8a7e4066c6310e9315ac4ea1ca68f6
Download Url (Computed) https://github.com/dilaura-exp/Ezpz-Inspector/archive/34fb71c2e9799903feb1c5863d12c5265cc10cf4.zip https://github.com/dilaura-exp/Ezpz-Inspector/archive/606923af4d8a7e4066c6310e9315ac4ea1ca68f6.zip
Icon Url https://user-images.githubusercontent.com/21215083/271782564-b1aef590-77f1-4ae6-8c87-f944748d989d.png
https://user-images.githubusercontent.com/21215083/271782564-b1aef590-77f1-4ae6-8c87-f944748d989d.png
Preview Insert
Type image
Image/Video URL https://user-images.githubusercontent.com/21215083/271778801-27fc9220-cc6b-4c3a-a598-c9d96baae757.gif
Thumbnail