Skip to content

LifeIsJourney/UnityEditorSnippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Updated to work with u2018.3.0b1 and higher, if you need previous version look for earlier commit. Since new unity introduces a lot of new hotkeys, and terrain hotkeys override most of function keys (F1, F2..) Either remap them in unity preferences, or change the hotkey file.

UnityEditorSnippets

Collection of different editor things that help with productivity

Structure

Every snippet is in separate file. All hotkeys are in Hotkey.cs file.

Menus

  • Project settings adds project settings duplicate menu on top.

Editor

  • Play - quick play mode hotkey
  • Pause
  • Collapse Project hotkey - collapses all contents of the project window
  • Collapse Hierarchy hotkey - collapses hierarchy (scenes become uncollapsed, whoever works with multiscene fix this)
  • Create folder for selected - will create a folder with the same name for selected asset in project window (found in context menu)

Tip - if you collapsed but still have object selected, hover over hierarchy and press F - it will select and expand hierarchy to currently selected object.

GameObject (found in gameobject context menu)

  • Create Parent - creates parent for the selected gameobject in scene.
  • Make first child - moves to the top of hierarchy under current parent
  • Make last child - moves to the bottom of hierarchy under current parent
  • Move up one level - parents to the parent of the parent.
  • Move up - move up one position in hierarchy under same parent.
  • Move down - move down one position in hierarchy under same parent.

Component (found in component context menu - gear icon)

  • Move to top - moves the component to the top
  • Move to bottom - moves the component to the bottom

More to come, feel free to add yours, just follow the same structure.

FAQ

Q:

Correct me if I'm wrong, but how does this differer from the standard methods? Play (CTRL-P) Pause (CTRL-SHIFT-P) Collapse (ALT-Click arrow) Create Parent (select objects, then Game Object/Make Parent) Seems like this allready exists by default.

A:

  1. Play and pause exist yes, however mine allows you to set hotkeys, like F1, F5, which are much more convenient than breaking your hands with default hotkeys.
  2. Default collapse requires you to click on a specific folder or and object, and doesnt collapse **everything **. My hotkeys allow you to collapse completely all objects in Hierarchy, or all folders in Project window.
  3. Make parent simply makes one object parent of another (try it yourself), mine creates a new object, places it at the same position as selected, and parents selected to it.

About

Collection of different editor things that help with productivity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%