1.6.0: Added FieldLabelFromType, StringToAnimationClipName and SingleSelectionFlag

This commit is contained in:
Anders Ejlersen 2022-07-09 23:30:15 +02:00
parent 7d99d62e11
commit 9faacb6291
15 changed files with 215 additions and 6 deletions

View file

@ -22,6 +22,7 @@ There are six different kinds of attributes:
* Adds additional information or styling to a field/method (E.g. Header displays a title/category to fields after attribute)
## Access
List of all available access attributes:
@ -56,12 +57,16 @@ List of all available access attributes:
* Show method (button) given value of another field
## Pre-drawer
List of all available pre-drawer attributes:
* `FieldLabelFrom`
* Sets GUIContent label for SerializedProperty to value from another field
* Sets GUIContent label for `SerializedProperty` to value from another field
* `FieldLabelFromType`
* Sets GUIContent label for `SerializedProperty` to value type from another field
## Drawer
@ -99,8 +104,10 @@ List of all available drawer attributes:
* Adds a popup with all scenes in EditorBuildSettings scenes
* `SerializeReferenceTo`
* Adds a popup for `SerializeReference` fields with types inheriting from assigned type or field type
* `SingleSelectionFlag`
* Adds popup, where only a single value from the flag can be selected
* `Slider`
* Adds a min & max slider and clamps value (Requirement: MinValue and MaxValue)
* Adds a min & max slider and clamps value (Requirement: `MinValue` and `MaxValue`)
* `StringToAnimatorParameter`
* Adds popup with all animator parameter names provided by animator field specified
* `StringToField`
@ -110,7 +117,7 @@ List of all available drawer attributes:
* `Tag`
* Adds popup with all tag values for field of type string
* `UrlGoTo`
* Adds a button to the field that calls Application.OpenUrl with string value
* Adds a button to the field that calls `Application.OpenUrl` with string value
@ -135,7 +142,7 @@ List of all value attributes:
## Validate
list of all validate attributes
List of all validate attributes:
* `NotNullField`
* Checks if field is null