Odin Inspector Version 0.9.0.5


Highlights

  • Added support for viewing dictionaries in the editor, and added support for applying prefab modifications to dictionaries. Only the following key types are supported as of right now: string, char, byte, sbyte, short, ushort, int, uint, long, ulong, float, double and decimal. Support for more key types may be added later.
  • AssetListAttribute now works on non-array and list type properties. Checkout an example in the Odin Attributes Overview scene.

Additions

  • Fixed an issue where compiled assemblies were referencing the wrong version number which caused build errors.
  • AssetLists has become a lot faster at searching for relevant assets. It now also searches for your assets over time and shows a searching indicator in the inspector, so it doesn't cause lag spikes.
  • Error and warning messages now includes a context menu for copying the message.
  • When inheriting from SerializedMonoBehaviour, SerializedScriptableObject etc.. A message is shown in the inspector explaining the current state of the serialization protocol. The message includes a button to remove the message
  • permanently.
  • ObjectFields for nullable non-unity objects, has gotten a foldout and can now be expanded and collapsed.
  • Added tooltips to most Odin Preference options.
  • InlineEditor now supports drawing previews for components.
  • AssetList can now be given a custom filter method.
  • Implemented drawer for Rect.
  • Added [HideMonoScript] attribute and added "ShowMonoScriptInEditor" to the general drawer config, to control displaying of the Script property in the inspector.
  • DelayedGUIPainter.Begin now takes an optional boolean parameter that indicates whether to draw or hide the GUI.
  • Added the DrawWithUnity attribute, which forces the property to be drawn as it would normally be in Unity.
  • Implemented drawer for Gradients.
  • EventExtensions with handy and commonly used event methods.
  • Window > Odin Inspector > About .
  • Added RectExtensions
  • Added link to issue tracker to About window.
  • Added HideInEditorMode attribute.
  • Added HideInPlayMode attribute.

Fixes

  • Fixed an issue where OdinSceneValidator would sometimes validate the scene multiple times.
  • Fixed a lot of small GUI spacing issues.
  • Fixed a bug where InlineEditorModes.GUIAndPreview would also draw the header.
  • DetailedInfoBox attribute is no longer drawn for list elements.
  • Playmode tint should now work with all Odin GUI.
  • "Reset to default" now works in Editor Types config window.
  • Fixed issue where some of Unity's types, such as GUIStyle and RectOffset, would show as having no drawers, and have no child properties defined. In these cases, properties represented by unmanaged internal Unity members are now
  • extracted from Unity and shown properly in Odin, often as aliased "ghost" members that have no managed representation.
  • Color and Color32's custom context menu for copying values has been moved into the general context menu system, and no longer overrides Odin's default context menu.
  • Windows like Advanced Odin Preferences, and open object new inspector, now opens correctly at the center of the Unity Editor.
  • Fixed a bug where dragging an asset to the last index in a list would result in it being the second last index.
  • Fixed a bug where ObjectFields did not indicate when different objects was selected.
  • Fixed Editor Types error where the intended editor of a type could not be changed again after it had been set once.
  • Reference path conflicts are now handled properly in the inspector.
  • Bounds property "m_Extent" now properly maps to Bounds member "m_Extents".
  • SirenixEditorGUI.ToolbarToggle no longer looks out of place.
  • Removed horrible hack from SirenixEditorGUI.ToolbarButton.
  • Odin no longer incorrectly guesses that Unity will serialize multi-dimensional arrays.
  • Fixed issue where TabGroup was redrawing constantly.
  • Minor spelling errors.

Changes

  • Renamed InspectorDrawerAttribute to OdinDrawerAttribute.
  • Removed unused attribute ConfigDisplayNameAttribute
  • OdinSceneValidator now only validates components drawn by Odin.
  • InspectorPropertyGroupDrawer has been renamed to OdinGroupDrawer
  • Methods in all custom drawers no longer takes GUILayoutOption[] as an optional parameter, since it was never being used.
  • HideLabelAttributeDrawer has gotten a much higher priority.
  • ShowLabels on the ListDrawerSettingsAttribute has been renamed to ShowIndexLabels, and the behavior in the inspector matches its name.
  • Changed ColorPalette and ColorPaletteColorPicker to be internal instead of public. We will make an update at some point, exposing all ColorPalettes preferences so you can add, delete and change color palettes from a script.
  • All demo scenes have been updated.
  • InlineEditor no longer draws the MonoScript selector when drawing the GUI.
  • AssetList can now be given a comma separated list of tags.
  • AssetList can now be given a comma separated list of layers.
  • ValidateInput attribute is no longer applied to list elements.
  • Odin is now actually capable of drawing most of Unity's types that have no custom editors with the proper inspector.
  • Changed defaults so that Odin will, by default, *not* draw any of Unity's types. This is an opt-in feature.
  • Optimized the PropertyTree's value scan behaviour - children properties for types derived from UnityEngine.Object are no longer evaluated.
  • Properties backed by Unity serialization are now shallow copied by default, not deep copied.
  • Renamed GUIConfig to GUIContext.
  • Renamed IControlConfig to IControlContext.
  • Remaned GUIHelper get config functions to context.
  • Removed GUIHelper.DelayedGUIDrawer.
  • InlineEditor no longer supports multi-object editing since we can't garentee that the editor supports it.
  • TabGroup no longer hides the label if it only contains one property.
  • ButtonAttribute.Name set is now private. Use Button("Name here") instead of Button(Name = "Name here") now.
  • Removed strongly typed generic overloads of PropertyTree.Create due to the confusion they were creating.
  • Grouped Odin Preferences and Odin Scene Validator under Window > Odin Inspector.