MenuItems_Hotkeys_Editor.cs
using UnityEngine; using UnityEditor; public class MenuItems_Hotkeys_Editor { //Hotkey Shift-Ctrl-Alt A [MenuItem("Hotkeys Menu/Create Cube #%&a")] public static void CreateCube() { GameObject cube = GameObject.CreatePrimitive(PrimitiveType.Cube); } //Hotkey A [MenuItem("Hotkeys Menu/Option 2 _a")] public static void Option2Action() { } //Hotkey Left [MenuItem("Hotkeys Menu/Option 3 _Left")] public static void Option3Action() { } //Hotkey F1 [MenuItem("Hotkeys Menu/Option 4 _F1")] public static void Option4Action() { } //Hotkey Home [MenuItem("Hotkeys Menu/Option 5 _Home")] public static void Option5Action() { } }