Inspector Gadgets v5

Inspector Gadgets v5.0

  • Released 2018-06-05.
  • You can now click on the Position/Rotation/Scale labels and press Ctrl + C/V to copy/paste their values.
  • The Transform Inspector now allows you to drag the Position, Rotation, and Scale labels.
  • Added ScriptyHunter - a system for tracking down and quickly fixing missing script references. It replaces the Inspector for missing scripts to get started.
  • Added Find References functions to the context menu for all Components. There are 3 variants: In Hierarchy searches children and parents, In Scene searches the whole scene, and In Assets searches all assets in the project.
  • Added Watch function to the context menu for all fields. The function opens an editor window that displays a list of all fields you have used the function on so you can view (and edit) them all at the same time. The Lite version only allows you to watch up to 3 fields at a time.
  • Added Visualise function to the context menu for float, Vector2, and Vector3 fields. The function opens an editor window that displays a gizmo in the scene to visualise and manipulate the chosen field. Vectors are visualised using a position handle with a line leading back to the origin while floats are visualised using the same wireframe sphere used to display the shape of a SphereCollider.
  • [Pro-Only] Added [H], [S], and [A] buttons to object reference fields while they are null to easily find a reference of the correct type in the hierarchy, scene, and project assets respectively.
  • Improved Object Reference Context Menus. Renamed Component context menu function Progressive Search to Find Component. Improved the search method to find the Component on an object with a name most similar to the property's display name. When multiple objects are selected it will now find the appropriate target object on each selected object individually rather than assigning the same target to all of them. Removed the other Get Component functions.
  • Added some layout functions to the context menus for RectTransform properties (position and size, but not anchors or pivot). Set Width = Height and Set Height = Width make the rect square. Snap to Siblings has a varient for each direction which moves the rect in that direction so that its leading edge is aligned with the closest edge in any of its siblings (other objects with the same parent).
  • [Pro-Only] Added SetHideFlags Component which can be added to a scene object to modify its hideFlags in the Inspector. Adding the component automatically sets the DontSaveInBuild flag.
  • [Pro-Only] Added [Inspectable] attribute to draw a field or property that wouldn't normally get drawn in the Inspector. Works for static or instance members of any common type (bool, int, float, vectors, Unity Objects, etc).
  • [Pro-Only] Added [Scene] attribute for int and string fields to display a dropdown list that allows you to pick a scene from the build settings to assign it's index or name to the field.
  • [Pro-Only] Added [ShowPreview] attribute for object reference fields to display a preview of the target object.
  • [Pro-Only] Added various validator attributes: [MinValue], [MaxValue], [ClampValue], [HasComponent].
  • [Pro-Only] The [Toolbar] attribute can now be used on bool fields to specify labels such as yes/no or on/off.
  • [Pro-Only] Added [TexDefine(KEYWORD)] which can be used on texture properties in shaders to enable the specified keyword whenever a texture is assigned.
  • Added UI Auto Focus Mode to the Preferences menu so you can choose if you want the Auto Hide UI system to focus on the selected object or its root RectTransform when you first select a UI object. Focussing on the root also frames it better than the default focus mode to make better use of the available screen space.
  • UI Auto Hide will now also activate when an object with a UIBehaviour (such as an Image or Button component) in its parents or children is selected.
  • The Auto Hide UI system will no longer focus the camera on the last stored position when you open a project and is now more reliable in general.
  • The AddComponent/Create new Instance function for Component/ScriptableObject fields will now show a sub menu for all inheriting types so you can make an instance of any child type rather than only the base type.