• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by noony · Jul 29, 2010 at 01:20 PM · editorlayouthotkeys

Editor layout hotkeys?

The editor section of the Unity features pages seems to imply that one can swap between editor layouts using hotkeys, as quoted below:

Customizable Editor Layout

Choose from one of many built-in application arrangements, or create and save your own. Different tasks might benefit from different arrangements, so use easy hotkeys to switch arrangements as needed.

I'm aware that you can do this via the layout dropdown menu in the top-right of the editor, as well as via Window > Layouts. However, there are no keyboard shortcuts listed alongside the various layouts, as there are with most other menu items; relevant documentation does not seem to make mention of any hotkeys either.

Any help with locating these hotkeys would be greatly appreciated!

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image 3dDude · Jul 29, 2010 at 06:46 PM 0
Share

i'm wondering about this to.

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by qJake · Jul 29, 2010 at 06:51 PM

Edit > Preferences > "Keys" Tab

Those are the keyboard shortcuts you can customize.

You can also write an editor script to handle a keyboard shortcut that does something else that you need, since the whole editor is scriptable.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image noony · Jul 30, 2010 at 11:13 AM 0
Share

That was going to be my next course of action; was just checking to make sure I didn't overlook something obvious! Thanks!

avatar image numberkruncher · Jun 22, 2012 at 06:17 PM 0
Share

Is there a way to register custom entries in the "$$anonymous$$eys" tab? I know that I can register custom keys using the $$anonymous$$enuItem attribute, but I would also like to allow customers to remap them if possible...

avatar image col000r · Mar 25, 2014 at 01:58 PM 0
Share

This does not answer the question.

avatar image
5

Answer by col000r · Mar 25, 2014 at 02:50 PM

The best solution I have found so far is this: I'm simply executing the menu-items that switch to the individual layouts. Place this script in the Editor folder and enter the names of the layouts you want to have shortcuts for...

 using UnityEngine;
 using UnityEditor;
 
 public class LayoutShortCuts : EditorWindow {
 
     [MenuItem("Window/LayoutShortcuts/1 %1", false, 999)]
     static void Layout1() {
         EditorApplication.ExecuteMenuItem("Window/Layouts/BLACKISH Default");
     }
 
     [MenuItem("Window/LayoutShortcuts/2 %2", false, 999)]
     static void Layout2() {
         EditorApplication.ExecuteMenuItem("Window/Layouts/BLACKISH Max Space");
     }
 
 }
Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Pawl · Jun 05, 2014 at 07:24 PM 0
Share

This is great, thanks!

avatar image DavidJares · Jul 11, 2018 at 11:29 AM 0
Share

2018 1.6f1 : Still Works like a Charm. Clean and Simple. Thank you very much.

avatar image hoskope · Apr 05, 2020 at 04:07 PM 0
Share

Seems not work anymore, what a shame. Says something about conflict in key shortcut.

avatar image col000r hoskope · Apr 05, 2020 at 07:27 PM 1
Share

the script still works, you can either assign different shortcuts in the script (replace %1 and %2 with something else) or assign new keys in the new Shortcuts window (Edit/Shortcuts...) - there's even a section called "Binding Conflicts" that shows you everything that's bound to the same keys.

avatar image
0

Answer by OllyNicholson · Aug 24, 2011 at 03:43 PM

Here is the list of default Unity Hotkeys (soon to be published in the documentation)

PC & Mac + downloadable PDF

http://blogs.unity3d.com/2011/08/24/unity-hotkeys-keyboard-shortcuts-in-unity/

Olly

TA@Unity

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Temporarily disable F hotkey 0 Answers

Inspector look changed 0 Answers

Custom inspector - disabling specific controls. 1 Answer

editor layout - how to put console back to a tab?? 2 Answers

Hotkey to play animation 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges