1.7.0: Added option to display hidden fields for a class

This commit is contained in:
Anders Ejlersen 2022-07-23 22:56:43 +02:00
parent 9faacb6291
commit 070b82767f
12 changed files with 200 additions and 24 deletions

View file

@ -90,7 +90,7 @@ List of all available drawer attributes:
* `MethodButton`
* Adds a button in the inspector that invokes the method (Requirement: No arguments)
* `Naming`
* Adds button to apply naming scheme to string value
* Adds button to apply naming scheme to string value
* Types: Camel, Pascal, Snake, Snake (All caps), Kebab, Kebab (All caps)
* `Percentage`
* Convert float value to percentage and back again (1% = 0.01f)
@ -156,4 +156,15 @@ List of all decorator attributes:
* `HorizontalLine`
* Draws a horizontal line above the field
* `MethodHeader`
* Draws a header/title/category text above the method (button)
* Draws a header/title/category text above the method (button)
## Show Hidden Fields
To allow fields hidden from inspector either by `NonSerialized` or `HideInInspector` add the following to the class:
* `EnableShowHiddenFields`
* Enables an additional search to find any "hidden" fields and draw them below `DefaultInspector`
* `ShowHiddenField`
* Optional attribute for fields, if `EnableShowHiddenFields` has parameter `true`