Skip to content

Releases: OscarAbraham/UITKEditorAid

v3.1.1

05 May 16:57
Compare
Choose a tag to compare

Fixes error in PropertyContainer's documentation example

v3.1.0

05 May 02:37
Compare
Choose a tag to compare

This version adds some features to PropertyContainer designed to support custom prefab override styles and behaviors. It also has some other fixes and minor improvements.

  • Added PropertyContainer.prefabOverrideUssClassName to support custom override styles.
  • Added PropertyContainer.onPrefabOverrideChanged to support other custom reactions to overrides from code.
  • Improves position of PropertyContainer's menu in 2021.3.
  • Fixes SerializedProperty parameter passes to PropertyContainer's constructor not being null-checked.
  • Fixes first click on EditableLabel while on edit mode not deselecting text in some recent Unity versions.
  • Adds "license", "documentationUrl" and "changelogUrl" to package.json.

v3.0.3

04 May 03:35
Compare
Choose a tag to compare

This release fixes some stuff in PropertyContainer:

  • Now this works properly in Unity 2022.2 and later. Previously, the blue bar would not be visible, and the context menu would not appear.
  • The context menu appears closer to the mouse in the y axis for big elements.
  • Prevents the internal property proxy from grabbing focus.
  • Adds a USS class to the internal property proxy, to aid in debugging.

v3.0.2

23 Feb 17:46
Compare
Choose a tag to compare

This just makes LICENSE a markdown file, which prevents GitHub from getting confused about the license of this project. Refer to v3.0.1 to see the rest of the changes in version 3.

v3.0.1

23 Feb 04:39
Compare
Choose a tag to compare

This version sets the minimum unity version supported as 2021.3. It probably still works in 2020.3, but I'm not using that version anymore, so I can't support it. Furthermore, I may start using c#9 features soon, which will make this package definitively incompatible with 2020.3.

Breaking Changes

  • EditableLabel's internal implementation has changed. It previously used a single TextField to display the text, even when non-editable. Now it uses a Label when non-editable, and replaces it with a TextField when editable. This may affect people doing complex custom styling, and people querying for EditableLabel's internals.

  • Fix ArrayPropertyField.headerLabelUssClasName typo by renaming it to ArrayPropertyField.headerLabelUssClassName.

  • Remove UIToolkitExtensions.AddDelayed. We recommend using the new BindingStopper instead when including fields that are bound to different Objects.

Other Changes

  • Add PropertyContainer.

  • Add TabbedView.

  • Add BindingStopper.

  • Lots of Documentation improvements.

  • Remove UXML support when REMOVE_UXML_FACTORIES is defined. See https://artehacker.com/UITKEditorAid/manual_pages/embedding_this_package.html at the end for more info.

  • Some style polishing.

  • Apply specific theme classes with EditorResources.ApplyCurrentTheme.

  • Add some extension methods to set multiple style properties in one go.

  • Add GetBoundSerializedProperty extension method to get a SerializedProperty from a bound field.

  • Add GetLabelElement extension method to get the label element from a PropertyField.

  • Add a USS class for empty ListControls (the parent class of our list elements).

  • Add optional support for selection in ListControl.

  • Add optional remove button in ArrayPropertyField's footer that removes the selected item.

  • Add withSeparatorsUSSClassName and headerContentUssClassName to ArrayPropertyField.

  • Fix changing emptyTextMessage in lists not working.

  • Fix changing ArrayPropertyField.showSeparators not working.

  • Add Help button to ListOfInspectors headers. It also shows a tooltip if available.

  • Show the class name in ListOfInspectors headers when the Object's name is empty.

  • Add UI for Objects with an invalid script in ListOfInspectors.

  • Use BindingStopper inside ListOfInspectors to remove the need of adding it to the UI with a delay.

  • Add emptyTextLabel as a placeholder text to EditableLabel.

  • Remove update delay from ManagedReferenceField. This lets it act before Unity, which prevents some Unity bugs.

  • Fix ManagedReferenceField overwritting EditorApplication.delayCall.

v2.0.1: Fix package name

23 Jun 18:09
Compare
Choose a tag to compare

Fixes package name. If you're using it directly from git, you should uninstall the previous version and install this one. Sorry.

v2.0.0

16 Mar 00:34
Compare
Choose a tag to compare

This version removes the Rebinder mechanism and all the related parts because it's not needed from Unity 2020 forward.
That in turn gives us a simpler API and faster code. More info here: #1