1.4.0: Added ReadableScriptableObjectAttribute and fixed an GUI.enable isssue
* Attribute: Added ReadableScriptableObjectAttribute to allow for inline editing of ScriptableObjects in the inspector * Attribute: Fixed issue, where root drawer wouldn't use existing value of GUI.enabled, when setting GUI.enabled state with new access value
This commit is contained in:
parent
05f04657c5
commit
ee7326c33a
8 changed files with 198 additions and 31 deletions
12
README.md
12
README.md
|
|
@ -91,8 +91,12 @@ List of all available drawer attributes:
|
|||
* Adds popup with all const fields of type string in provided type
|
||||
* `QuaternionToEuler`
|
||||
* Converts quaternion value to Euler angles and back again
|
||||
* `ReadableScriptableObject`
|
||||
* Creates an inline editor in the inspector window, so you can edit `ScriptableObjects` without finding the object first
|
||||
* `SceneDropdown`
|
||||
* 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
|
||||
* `Slider`
|
||||
* Adds a min & max slider and clamps value (Requirement: MinValue and MaxValue)
|
||||
* `StringToAnimatorParameter`
|
||||
|
|
@ -105,8 +109,7 @@ List of all available drawer attributes:
|
|||
* 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
|
||||
* `SerializeReferenceTo`
|
||||
* Adds a popup for `SerializeReference` fields with types inheriting from assigned type or field type
|
||||
|
||||
|
||||
|
||||
## Value
|
||||
|
|
@ -115,6 +118,8 @@ List of all value attributes:
|
|||
|
||||
* `ArrayIndex`
|
||||
* Clamps value between other fields array size `[0;size[`
|
||||
* `AssignIfNull`
|
||||
* If value is null will either use field or custom type to get from self or children
|
||||
* `LargerThanField`
|
||||
* If value is greater than other fields value, then set value to other fields value
|
||||
* `MaxValue`
|
||||
|
|
@ -123,8 +128,7 @@ List of all value attributes:
|
|||
* If value is less than min value, then set value to min value
|
||||
* `SmallerThanField`
|
||||
* If value is less than other fields value, then set value to other fields value
|
||||
* `AssignIfNull`
|
||||
* If value is null will either use field or custom type to get from self or children
|
||||
|
||||
|
||||
|
||||
## Validate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue