Releases: dbrizov/NaughtyAttributes
Releases · dbrizov/NaughtyAttributes
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.9
Minimum supported unity version
- The minimum supported Unity version is now 2018.4.x instead of 2018.3.x
New attributes
Layer
- You can select a Unity layer. Similar toScene
,Tag
,InputAxis
andAnimatorParam
attributes
Improvements
- Added support for
short
,ushort
,uint
,ulong
,Vector2Int
,Vector3Int
,RectInt
for[ShowNativeProperty]
and[ShowNonSerializedField]
MinMaxSlider
can be applied toVector2Int
MinValue
andMaxValue
validators can be applied toVector2
,Vector3
,Vector4
,Vector2Int
,Vector3Int
ShowIf/HideIf/EnableIf/DisableIf
now supportenum
value as a condition
Fixes
- ce8eaf2 (#180) -
ReadOnly
is now a meta attribute so it can be combined with other drawer attributes - 3944fec (#185) - fixed a bug where scriptable objects with the Expandable attribute become corrupted when the user selects multiple game objects with the same MonoBehaviour
- 6e24ead (#207) - fixed a bug where Decorator Drawers are not affected by
ShowIf/HideIf/EnableIf/DisableIf
attributes - dcae7a6 (#209) - fixed a bug where multi-selection of objects with a dropdown overwrites all values to be the value of the last object selected
- 325696f (#213) - fixed a bug where
Dropdown
doesn't save first value by default - faa02a1 (#222) - fixed a bug where ProgressBar wasn't working with integers
- da9c670 - fixed a bug where the labels of nested curves when using the
CurveRange
attribute where invisible
v2.0.8
Fixes
- add11c4 - Fixed incorrect rendering of custom property drawers in ReorderableList
- 473fb3b - Foldout group can now be expanded when you click on the label
- aa20fa3 - The Button and the ReorderableList's label now support rich text (#189)
- 0183cca - Fixed a nesting bug where some elements where overlapping (#200)
Hooray
- As of Unity 2020.2.x all arrays and lists in the inspector are reorderable by default, so we no longer have to use the ReorderableList attribute. I think we all have a part in this. Just wanted to say thanks to all users and contributors. If it wasn't for you, this project would've never become so popular. Let's hope Unity Technologies will integrate more attributes in the engine. Together we can make Unity even greater... Ho, ho, ho
v2.0.7
v2.0.6
v2.0.5
New Attributes
- AnimatorParam - easy selection of animator parameters
- Expandable - ScriptableObjects can be expanded inside MonoBehaviours or other ScriptableObjects
- Foldout - creates a foldout group
Improvements
- Type support for
[ShowNativeProperty]
[InfoBox]
is now resizable depending on the size of the content- The header of the
[ReorderableList]
now supports drag and drop - The headers of buttons, non-serialized fields, and native properties are removed
Fixes
- #161 - fixed a null reference exception when viewing game objects with deleted mono behaviors that use NaughtyAttributes
- If an exception is thrown, the inspector's disabled scoped can't be modified, because all calls to
GUI.enabled
are replaced withEditorGUI.DisabledScope()
- #123 -
[ReorderableList]
and[ShowAssetPreview]
can now be combined together.