A class in Root.Township, the global namespace.
Asset listing editor menu paths and the hotkeys to bind to them.
Constructors
| Member | What it is |
|---|
EditorHotKeys() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
1 private and internal field
| Member | What it is |
|---|
private EditorHotKeys.Hotkey[] hotkeys | The configured hotkeys, each a menu path, modifier flags and key. |
Methods
| Member | What it is |
|---|
Dictionary<string, string> GetMap() | Returns a map from menu path to Unity menu shortcut text (such as _%#a) for each hotkey. |