Skip to content
/ Usink Public

⚡ Supercharge Unity Editor with hotkeys and functionalities

License

Notifications You must be signed in to change notification settings

willnode/Usink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usink

Unity extension for ScenevIew Navigation and Keybinding.


Download via Asset Store

Usink is a Unity editor extension to fill the editor with useful opinionated keyboard shortcuts. You can use it for saving your time while building scenes in Unity.

You can see the whole settings in Config.cs. Don't like my settings? Just fork the project and change it as much as you like!

Right-Click Context

Perhaps this is the most amazing thing you absolutely need. Right click a scene to open context menu where you can select objects even it's behind another object. Demonstration.

Selection Query

Hit Space at SceneView to open query dialog. Use this feature to quickly select matched query similar to search bar in hierarchy. Only this time, it's more powerful with query signs:

Query Begin With Means
Select Objects by name in Scene
+ Select Objects Additively (Already Selected objects is unaffected)
- Select Objects Subtractively (Inverse of additive)
/ Select Objects if it a children of already selected objects
> Find Objects by component name (Similar with t: but can do partial search)
# Find Assets to get selected
@ Find and open a Scene inside project (Shift to open additively)
! Launch an EditorWindow (Note that it lists ALL EditorWindow even it's hidden for your goodness sake)

Scene View Navigation

All scene navigation uses Numpad. Don't forget to turn on your NumLk.

  • 5 Pitch-rotate the camera downward
  • 8 Pitch-rotate the camera upward
  • 4 Yaw-rotate the camera leftward
  • 6 Yaw-rotate the camera rightward
  • 7 Roll-rotate the camera clockwise
  • 9 Roll-rotate the camera counter-clockwise

Additional navigation controls, also uses Numpad:

  • 3 Zoom in the camera
  • 1 Zoom out the camera
  • 2 Change perspective/orthographic
  • 0 Align scene camera to main camera
  • . Align scene camera to (in front of) UI canvas

Selection

Keyboard shortcut to handle selections:

  • A Select none (then reselect back)
  • P Select parent
  • [ Select previous sibling
  • ] Select next sibling

If multiple objects are selected, those keys are overrided with:

  • P Set active object as parent of selected objects
  • [ Reorder selected objects to close with earliest selected object index.
  • ] Reorder selected objects to close with latest selected object index.

Additional handy selection utilities:

  • L Select other scene object based on similarities (eg. name/prefab/layer/mesh/position)
  • K More select operation by hierarchy (eg. by parent/child/sibling/recursively)

Scene Filter

  • M Hide unselected objects temporarily*

* This is a new feature and does not work with UI objects yet. It works by modifying the layer of selected objects to hidden one so you need to press 'M' again when finished, otherwise the modification no longer can be recovered back. For your safety, destructive operations like saving or closing scene will trigger this reversion automatically.

GameObject Operation

  • S Remove Component (will open dialog and also shows components that partially exist in selection)
  • D Add GameObject (similar as hierarchy dropdown)
  • G Set Object Gizmo (applies to active object only)
  • H Toggle Object Active Status
  • J Toggle Object Lock Status (HideFlags NotEditable)
  • F2 Rename GameObject right inside SceneView

Miscellaneous

  • , Open Layer Mask (right from SceneView)
  • . Open Layout Selection (right from SceneView)
  • F9 Clear Developer Console

FWIW

Built-in unity shortcuts include: Q W E R T Y Z X F V 2.

This means these keys are still unused: 1 3 4 5 6 7 8 9 0 - = ~ U I O \ ; ' C B N /

Ideas and Contribute

Have an idea to fill these empty shortcuts? Feel free to use Issues tab to suggest one.

Versions

Current version: 0.7.0 (Alpha)

This means things can change or break, and you can propose new ideas before being marked as Final.

Developed using Unity 5.6.0.

License

MIT

About

⚡ Supercharge Unity Editor with hotkeys and functionalities

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages