Sticky drag & drop is a feature that allows you to smoothly drag references across different objects without having to first pin or lock the receiver's inspector.
Sticky Drag & Drop
It fixes the common workflow problem that comes with the single inspector window:
- Wanting to assign object A to a field on object B
- Selecting B to view its inspector
- Selecting A and starting to drag
- Uh-oh! The inspector from B disappeared and was replaced by that of A
- Going back to select object B
- Locking the inspector from B
- Selecting A and dragging towards B
- Unlocking the inspector from B
Instead of this cumbersome workflow, Peek will contextually open the relevant inspector popup while dragging when its icon is hovered for a little while. This works in all toolbars, whether in the scene, hierarchy or project windows.
Dragging in the scene
Because the scene view only displays the toolbar for the current selection, using sticky drag & drop is a two-step process:
- Hover the receiver game object, and wait until the translucent toolbar becomes solid
- Hover the receiver component in the now solid toolbar and wait until it opens
Delay
By default, there is a 1 second delay before a sticky drop operation is confirmed (like locking the hovered scene view toolbar or opening the inspector popup). You can tweak that delay from the Peek preferences if you find it too short or too long.
The local and global hierarchy popups provide quick access to the hierarchy when working from the scene view.
Objects in the hierarchy, project window and fuzzy finder can display an icon that is a little snapshot of their 2D, 3D or material preview.