NSelection icon indicating copy to clipboard operation
NSelection copied to clipboard

Simple selection for busy scenes in Unity

NSelection

Simple selection for busy scenes in Unity

Unity 2018.3+

ko-fi


Usage:

Scene view picking

Ctrl - right-mouse to activate.
Hold Ctrl during selection to select multiple objects.
Press Escape or click outside the selection list to end the current selection.

gif

Drag and drop between tabs

gif

Focus hierarchy to selection

Alt+Shift+F sets the hierarchy's expanded state to only contain the current selection.
You can rebind this in the Shortcut Manager (Edit/Shortcuts/Window).
The supported windows are:

  • Hierarchy view
  • Project browser
  • Profiler window
  • Timeline window
  • Animation window
  • Audio Mixer
  • UI Builder
  • UIToolkit debugger
  • Frame debugger

Collapse Hierarchy

Assign the Collapse Hierarchy shortcuts in the Shortcut Manager (Edit/Shortcuts/Hierarchy View).

  • Collapse Hierarchy will collapse anything but expanded Scenes and the selection.
  • Collapse Hierarchy Completely will collapse everything.

Installation

Add from OpenUPM | via scoped registry, recommended

This package is available on OpenUPM: https://openupm.com/packages/com.vertx.nselection

To add it the package to your project:

  • open Edit/Project Settings/Package Manager
  • add a new Scoped Registry:
    Name: OpenUPM
    URL:  https://package.openupm.com/
    Scope(s): com.vertx
    
  • click Save
  • open Package Manager
  • click +
  • select Add from Git URL
  • paste com.vertx.nselection
  • click Add
Add from GitHub | not recommended, no updates through UPM

You can also add it directly from GitHub on Unity 2019.4+. Note that you won't be able to receive updates through Package Manager this way, you'll have to update manually.

  • open Package Manager
  • click +
  • select Add from Git URL
  • paste https://github.com/vertxxyz/NSelection.git
  • click Add
    or
  • Edit your manifest.json file to contain "com.vertx.nselection": "https://github.com/vertxxyz/NSelection.git",

To update the package with new changes, remove the lock from the packages-lock.json file.