Releases: dbrizov/NaughtyAttributes
Releases · dbrizov/NaughtyAttributes
v2.1.5
Minimum supported unity version
- The minimum supported Unity version is now 2022.3.x instead of 2019.4.x
New attributes
- 87ae42c (#346) RequiredType - used on game objects or components. When used on a game object, it checks if the game object has a component of the required type. When used on a component, it checks if the game object it is attached to has a component of the required type.
Improvements
- 90f72e2 (#403)
[Expandable]now has an optionalIsReadonlyparameter. - 1448c65 (#339)
[ProgressBar]can be dragged like a slide to set the value of the field.
Fixes
v2.1.4
New Attributes
- SortingLayer - similar to
[Layer], but instead of selecting a physics layer, you can select a sorting layer via dropdown interface
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,InputAxisandAnimatorParamattributes
Improvements
- Added support for
short,ushort,uint,ulong,Vector2Int,Vector3Int,RectIntfor[ShowNativeProperty]and[ShowNonSerializedField] MinMaxSlidercan be applied toVector2IntMinValueandMaxValuevalidators can be applied toVector2,Vector3,Vector4,Vector2Int,Vector3IntShowIf/HideIf/EnableIf/DisableIfnow supportenumvalue as a condition
Fixes
- ce8eaf2 (#180) -
ReadOnlyis 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/DisableIfattributes - 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
Dropdowndoesn'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
CurveRangeattribute 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