Changelogs
EditorAttributes v3.0.4 Changelog:
Fixed DataTable not removing labels from dropdowns
Fixed foldout fields not aligning properly in a DataTable
Fixed box style color being inconsistent with the editor theme
Fixed AssetPreview throwing an error when the asset is not assigned
Fixed AssetPreview using the main atlas size for sliced sprites by default
EditorAttributes v3.0.3 Changelog:
Added BoundsInt, Rect and RectInt support to the DrawHandle Attribute
The AnimatorParamDropdown Attribute can now automatically grab the Animator component on the same GameObject
Fixed buttons duplicating on inherited scripts when functions are not private
Fixed alignment with dropdown errors
EditorAttributes v3.0.2 Changelog:
Added applyToCollection parameter to the Validate Attribute
AnimatorParamDropdown can now be attached to an int returning the parameter hash
Updated deprecated API’s in Unity 6.4
EditorAttributes v3.0.1 Changelog:
Added the ability to filter TypeDropdown by certain types
Added makeDirty parameter to ButtonField Attribute
Slightly adjusted group alignments
DataTables can now contain serialized objects and collections
The editor attributes drawing of the default inspector can now be disabled
Fixed DataTable drawing labels in collections past the first element
Fixed finding property members inside serialized classes throwing an error
Fixed Dropdown reseting value after refreshing the inspector when using dictionaries
Fixed AssetPreview not displaying sliced sprites
EditorAttributes v3.0.0 Changelog:
Project refactoring
Ended support for Unity 2022
Added LayerDropdown Attribute
Added ApplyMaterial Attribute
Added option to toggle whether an object is set to dirty or not on button press
Added an optional group title to the vertical group
Removed the TimeField Attribute
Removed the SelectionButtons Attribute
Updated the look of the tab group
Made the Void struct readonly
AssetPreview Attribute will now display the texture itself instead of its preview if the type is a texture
Fixed custom unit definitions throwing null error
Fixed Button Attribute enum parameter throwing an argument null error
Fixed Button Attribute duplicating from inheritance
Fixed Button not supporting vector parameters
Fixed member finding getting the member from the base object instead of the nested object if the member has the same name
EditorAttributes v2.9.2 Changelog:
PropertyDropdown Attribute now supports any UnityEngine.Object type
PropertyDropdown Attribute will now draw custom editors
Fixed conditional fields not working inside groups
Fixed Button Attribute not supporting enums anymore
Fixed Dropdown Attribute not updating when collection becomes invalid
Fixed DataTable adding labels to array elements after the first one when inside a custom object
EditorAttributes v2.9.1 Changelog:
Added char support to Button Attribute parameters and ShowInInspector Attribute
Added an Asset Preview Load Time setting to the project settings
Asset previews now load asynchronously
Required Attribute now has the option to add a button on the help box to auto reference the field
Attributes can now find private inherited members
Fixed HideInChildren Attribute no longer working
Fixed PropertyDropdown not working on child types deeper in the hierarchy
Fixed Button no longer supporting string parameters
Fixed Button throwing a stack overflow exception when attempting to use a non supported primitive type parameter
EditorAttributes v2.9.0 Changelog:
Added checks for duplicate units and empty unit names when defining custom units
Added an additional parameter to ValueButtons Attribute for displaying custom labels for items
Added property space parameter in the HorizontalGroup Attribute
Added support for multiple inline buttons
Added percentage units
Added custom serialized objects support to ShowInInspector Attribute
Removed the widthOffset parameter from Vertical, Foldout and Toggle groups
Deprecated TimeField Attribute in favor of UnitField
HideProperty now will now hide nested properties as well
MinMaxSlider handles now snap when using Vector2Int
Fixed an issue where some attributes don’t change the display value when that value is changed by script
Fixed null reference exception in addressables validation during build
Fixed object reference exception when using UnitField Attribute in a fresh project
Fixed HideLabel Attribute not working in horizontal groups
Fixed coloring issues with unit fields
EditorAttributes v2.8.0 Changelog:
Added UnitField Attribute
Added TypeDropdown attribute
Added project settings tab
Moved the Disable Build Validation setting to the project settings tab
Handles now rotate correctly when set to local space
Removed the ConvertTo enum in favor of the Unit enum
Fixed HideLabel Attribute not removing the label from an EnumButtons marked field
EditorAttributes v2.7.2 Changelog:
Added the ability to execute button logic from multiple selections
Added a warning when trying to use an attribute from an ImGUI based editor
Foldout states and button parameters are now saved by the object’s instance ID instead of name
Fixed dropdown reseting to default value when the inspector is refreshed while using dictionaries
Fixed property dropdowns not working inside collections
Fixed foldout states incorrectly loading
EditorAttributes v2.7.1 Changelog:
Unity’s Space and Header attributes now work on ShowInInspector properties
Validating all scenes should now also include addressable scenes
Updated offline documentation
EditorAttributes v2.7.0 Changelog:
Added CollectionRange Attribute
Added ShowInInspector Attribute
Removed the drawing of static and non serialized members in favor of the ShowInInspector Attribute
Fixed Button functions being called when selecting something
EditorAttributes v2.6.1 Changelog:
Added option to show all non serialized members
Extended showing static fields to showing all static members
Handled an error on ButtonField Attribute when it can’t find the function.
Fixed issue where Property Fields are sometimes not automatically binded
EditorAttributes v2.6.0 Changelog:
Added Dictionary support for Dropdown Attribute
Added attribute search support for static and const members inside other types
Added ValidationCheck class for more advanced validation logic
Moved EditorValidation menu under the tools tab
Fixed DataTable label alignment
Fixed Wrap and Clamp Attributes not working with uint, long, ulong and double types
Fixed Dropdown Attribute throwing error when collection value is null
Fixed Dropdown throwing Index out of range Exception when the value collection changed is dynamically while using a custom display array
EditorAttributes v2.5.4 Changelog:
Added an additional parameter to Dropdown Attribute for displaying custom labels for items
Added new CaseType.None to Rename Attribute
Long DataTable names should now be clipped
Updated how vectors look inside data tables
Fixed Rename Attribute not working
Fixed UnityEvents not displaying the property name
Fixed UnityEvents and collections being indented inside foldout and toggle groups
Fixed possible error when deleting an object using the Button Attribute
Fixed attributes not applying to UnityEvents when inside a group
Fixed message boxes not appearing back when the condition is satisfied in the editor
EditorAttributes v2.5.3 Changelog:
Added vector support to Dropdown Attribute
Added option to disable build validation
Added property context menus to non property fields
Added ToLocalTransform function to the SimpleTransform
Updated the ToTransform function inside SimpleTransform
Realigned label on MinMaxSlider
Fixed Hide, Show and ConditionalField attributes flickering inside arrays
Fixed asset previews not loading when the inspector is selected
EditorAttributes v2.5.2 Changelog:
Added optional parameter to the HideInChildren Attribute to specify in which children to hide the field
Added option to draw help boxes above the attached field
Added dynamic string support to the HelpBox Attribute
The HelpBox Attribute will now draw the helpbox under the field by default
Fixed tooltips not being displayed on some attributes
Fixed Rename Attribute not working on fields inside a horizontal group
Fixed asset preivews not displaying when assigning new assets
Removed the global update scheduler due invoked events generating a ton of garbage and tanking performance, all attributes will now use their own scheduler
EditorAttributes v2.5.1 Changelog:
Fixed attributes not finding properties
Fixed overridden function mismatch warning in the UnityTypeConverter class
Fixed Clamp and Wrap Attributes not setting their values correctly
Fixed serialized objects not displaying in foldout and toggle groups
Fixed properties not updating after opening the object picker
Properties with the HideProperty Attribute should now be hidden inside a property dropdown
EditorAttributes v2.5.0 Changelog:
Added PropertyOrder Attribute
Added Validate Open Scenes to the validation system
You can now toggle the visibility of static fields in the inspector trough a component context menu
The EditorExtension.RunUpdateLoop function is now public so you can call it from custom editor windows to make certain attributes work
Fixed DataTable Attribute not displaying the labels in an array
The validation system should no longer close any additive loaded scenes
Validate Scenes will no longer validate scenes that are not part of the build
EditorAttributes v2.4.1 Changelog:
The validation system will no longer check for assets inside the Packages folder
The PropertyDropdown Attribute will now save the state of the foldouts
Fixed an issue with property dropdowns throwing “This Visual Element is not my child” errors
Fixed an issue where visual elements don’t update inside a property dropdown
EditorAttributes v2.4.0 Changelog:
Added Validation system
Added Validate Attribute
Added DrawHandle Attribute
Added SimpleTransform struct
Added ValueButtons Attribute (only on Unity 6 and above)
Added lineThickness parameter to the Title and Line Attribute
Added paramters to the Required Attribute to include it in validation or not
Added repetable button support to the button attributes
Added VectorUtils class
Fixed alpha not applying on the Line Attribute when using hex colors
Fixed vectors not drawing properly in data tables
Fixed the PropertyDropdown Attribute not refreshing when part of a group
Fixed obsolete error thrown from the SelectionButtons drawer in Unity 6
Renamed the ColorUtility class to ColorUtils to avoid conflicts with UnityEngine.ColorUtility
Added the possibility to show static fields in the inspector but it’s experimental and must be manually enabled from code
EditorAttributes v2.3.0 Changelog:
Added HideProperty Attribute
Added button parameter support for uint, long and ulong
Added documentation for scripting API
Improved the backend of the package to make it easier to create custom attributes or expand it
Serialized objects and collections should now display corectly inside groups
Fixed conditional attributes not being able to find functions and properties inside serialized objects
Fixed an error sometimes being thrown then deleting an object using a conditional attribute
Fixed an error thrown when a string button parameter is null
Fixed an issue where the Dropdown Attribute error box doesn’t update properly
The SelectionButtons Attribute has been deprecated in Unity 6 in favor of the built in EnumButtons Attribute
The Rename Attribute is now a decorative attribute
EditorAttributes v2.2.0 Changelog:
Added TimeField Attribute
Added OnValueChanged Attribute
Added AnimatorParamDropdown Attribute
Added titleSpace parameter to the TitleAttribute
Removed the fieldWidth parameter from all attributes having it
Void fields will no longer be drawn in the inspector
Removed the drawProperty parameter from the MessageBox Attribute
The DataTable Attribute will no longer display the field labels in array elements except for the first element
Fixed Button Attribute parameter serialization with Unity types
Reorganized the project
Updated samples
Ported the whole package from the ImGUI system to UI Toolkit which results in the following changes:
Better layouts
Collections will now have a scrollbar when too long
Dynamic text will always update even if not focused on the inspector window
The TypeFilter Attribute will now display the filtered type in the object field
The IndentProperty Attribute will now use pixel values
The labelWidth parameters have been changed to widthOffset and now offset the existing width instead of setting a completly new width
The way inspectors are colored has changed and the ColorField Attribute has been deprecated for now
You can use the UI Toolkit Debugger window with the package
Since the inspector is now drawn with UI Toolkit any custom property drawers using ImGUI will not work, you will have to port them to UI toolkit or use the IMGUIContainer
EditorAttributes v2.1.1 Changelog:
Added an option to disable button parameter serialization
The MessageBox Attribute now supports dynamic string inputs
The PropertyDropdown properties are now indented a bit
The PropertyDropdown Attribute will now work when placed directly on a field of type ScriptableObject or Component
EditorAttributes v2.1.0 Changelog:
Added IndentProperty Attribute
Added HideInChildren Attribute
Fixed members inside serialized objects nested in arrays or other serialized objects not being found
Fixed an issue where serialized properties could not be found by grouping attributes
Updated the ProgresBar Attribute with the built in look and removed color parameters
Grouping attributes now work inside serialized objects
The ToggleGroup Attribute will return the toggle value when placed on a bool
The Prefix Attribute offset parameter will now increase the space between it and the field instead of decreasing it
SelectionButtons, MinMaxSlider, FilePath and FolderPath attributes now display properly inside collections
The File/FolderPath Attribute relative path will now include the Assets folder
You can now dynamically change the string inputs on the Title, Image, Rename, Suffix and Prefix attributes
Collections can now be affected by certain attributes (only available in unity 2023.3 and above)
Updated samples
EditorAttributes v2.0.0 Changelog:
Added FilePath Attribute
Added FolderPath Attribute
Added ButtonField Attribute
Added PropertyDropdown Attribute
Added TabGroup Attribute
Fixed ProgressBar label missalignment
Handled SceneDropdown throwing an error when there are no scenes in the build settings
EditorAttributes v1.9.0 Changelog:
Added Title Attribute
Added InlineButton Attribute
Added SelectionButtons Attribute
Changed the ProgressBar attribute label
The attributes GUIColor and ColorField can now be attached to button functions
When dragging a GameObject into a field using the TypeFilter Attribute will get the filtered component from it instead of nothing
Added rich text support to HelpBox and MessageBox attributes
Added drawInBox and showLabels parameters to the DataTable Attribute
EditorAttributes v1.8.1 Changelog:
Added some helpboxes when group fields cannot be found
Fixed the dropdown attribute not finding the collection
Added some missing null checks
EditorAttributes v1.8.0 Changelog:
Added DataTable Attribute
Added ProgressBar Attribute
Renamed the Assembly Definitions
The name of a field using the Required Attribute inside the help box now looks nicer
Fixed members couldn’t be found by attributes if those attributes are used inside a base class
When a member could not be found it will now display a helpbox instead of spamming errors in the console
EditorAttributes v1.7.0 Changelog:
You can now find values inside structs
Fixed min or max value of a MinMaxSlider going over or under eachother when values are set by fields
Added HideLabel Attribute
Added Wrap Attribute
Added Required Attribute
Added TypeFilter Attribute
Added SortingLayerDropdown Attribute
EditorAttributes v1.6.1 Changelog:
Made the Helpbox a decorator attribute
Removed the UseRGB option from the GUIColor enum
Added enum support to Button parameters
EditorAttributes v1.6.0 Changelog:
Added ColorField attribute
Added GUIColor attribute
Added option to draw groups inside boxes
Fixed functions not being found
Handled Illegal characters in path ArgumentException on the button
Updated FoldoutGroup GUI
EditorAttributes v1.5.0 Changelog:
Added AssetPreview attribute
Added FoldoutGroup attribute
Added ToggleGroup attribute
Added the ability to show/hide or enable/disable buttons
Button parameters now persist after you deselect an object
EditorAttributes v1.4.0 Changelog:
Added Prefix/Suffix attribute
Added Line attribute
Added TagDropdown attribute
Added Image attribute
Added VerticalGroup attribute
Added SceneDropdown attribute
EditorAttributes v1.3.0 Changelog:
Added MinMaxSlider attribute
Added Clamp attribute
Added PropertyWidth attribute
Added LayerMask support to button parameters
Refactored the Button attribute drawing system so now the attributes can be placed directly on the function
EditorAttributes v1.2.1 Changelog:
Fixed public fields, properties and functions of type List not working with the dropdown attribute
Handled an AmbiguousMatchException when creating a button that uses a function with overloads
Buttons with parameters now show in a nice box
EditorAttributes v1.2.0 Changelog:
Added Rename attribute
Added HideInEditMode attribute
Added DisableInEditMode attribute
Properties and functions can now be used as parameters
The MessageBox now supports enums
The Dropdown attribute is no longer limited to strings
You can now have functions with parameters as buttons
Updated the summaries for some attributes
Internal refactoring and general optimization
EditorAttributes v1.1.1 Changelog:
Removed offline documentation
Removed samples
Updated links
Updated Readme
EditorAttributes v1.1.0 Changelog:
You can now enable/disable fields using the ConditionalField attribute
Added enum support to the Enable/DisableField attribute
Integer casting is no longer required for enum paramters
Fixed drawing issues with UnityEvents and Structs on certain attributes
EditorAttributes v1.0.0 Changelog:
Initial release