Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Alt + Keycode shortcuts no longer work in Editor

Discussion in '5.4 Beta' started by karl_, Jan 26, 2016.

  1. karl_

    karl_

    Joined:
    Mar 4, 2010
    Posts:
    464
    As of 5.4.0b3 any shortcut with a single Alt key modifier now opens the file menu with the equivalent first character. I think this typical of other programs, but not when a shortcut has been defined?

    Code (csharp):
    1.  
    2. using UnityEngine;
    3. using UnityEditor;
    4.  
    5. public class SayHello : Editor
    6. {
    7.     // Alt+H works in Unity 5.3.1, does not in 5.4.0b3
    8.     // In 5.4.0b3, alt-h opens the Help menu.
    9.  
    10.     [MenuItem("Tools/Say Hello &h")]
    11.     static void MenuHello()
    12.     {
    13.         Debug.Log("hello!");
    14.     }
    15. }
    16.  
     
  2. shawn

    shawn

    Unity Technologies

    Joined:
    Aug 4, 2007
    Posts:
    552
    Hey, could you submit a bug report for this?
     
  3. karl_

    karl_

    Joined:
    Mar 4, 2010
    Posts:
    464
    Definitely. Case 766786 submitted against 5.4.0b4.
     
    Dantus likes this.