Attribute Extensions for Unity
[Layer]
, but instead of selecting a physics layer, you can select a sorting layer via dropdown interfaceLayer
- You can select a Unity layer. Similar to Scene
, Tag
, InputAxis
and AnimatorParam
attributesshort
, ushort
, uint
, ulong
, Vector2Int
, Vector3Int
, RectInt
for [ShowNativeProperty]
and [ShowNonSerializedField]
MinMaxSlider
can be applied to Vector2Int
MinValue
and MaxValue
validators can be applied to Vector2
, Vector3
, Vector4
, Vector2Int
, Vector3Int
ShowIf/HideIf/EnableIf/DisableIf
now support enum
value as a conditionReadOnly
is now a meta attribute so it can be combined with other drawer attributesShowIf/HideIf/EnableIf/DisableIf
attributesDropdown
doesn't save first value by defaultCurveRange
attribute where invisible[ShowNativeProperty]
[InfoBox]
is now resizable depending on the size of the content[ReorderableList]
now supports drag and dropGUI.enabled
are replaced with EditorGUI.DisabledScope()
[ReorderableList]
and [ShowAssetPreview]
can now be combined together.