728x90
To create a hotkey, use the following special characters: % (ctrl on Windows and Linux, cmd on macOS), ^ (ctrl on Windows, Linux, and macOS), # (shift), & (alt). If no special modifier key combinations are required, the key can be given after an underscore. For example, to create a menu with the hotkey Shift+Alt+G, use "MyMenu/Do Something #&g". To create a menu with hotkey G and no key modifiers pressed, use "MyMenu/Do Something _g". Hotkey text must be preceded by a space character. <tt>"MyMenu/Do_g"</tt> won't be interpreted as hotkey, while <tt>"MyMenu/Do _g"</tt> will.
https://docs.unity3d.com/ScriptReference/MenuItem.html
728x90
'🎮 Unity Study > Unity' 카테고리의 다른 글
Unity Canvas :: Reference Pixels Per Unit (0) | 2024.04.16 |
---|---|
[Unity] Button onClick.AddListener (0) | 2024.02.16 |
[Unity] Github package npm 배포 (0) | 2023.12.07 |
Android API version 별 SDK 버전(feat. Unity 버전 별 NDK, JDK Version) (0) | 2023.11.29 |
[Unity] Custom Unity Package in Git 맹들기 (0) | 2023.09.22 |