ShortcutManager
Provides access to an instance of IShortcutManager for managing shortcuts.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Class
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
public static class ShortcutManager
Static Fields
Value | Description |
|---|---|
| defaultProfileId | A constant defining the ID of the default shortcut profile. See the documentation for the IShortcutManager.activeProfileId property. |
Static Properties
Property | Description |
|---|---|
| instance | An instance of the IShortcutManager interface used for managing shortcuts in the editor. |
Static Methods
Method | Description |
|---|---|
| RegisterContext | Registers a IShortcutContext as a custom context used to filter shortcuts. |
| RegisterTag | Registers the tag as a custom context used to filter shortcuts after a window context is determined. |
| UnregisterContext | Removes a IShortcutContext from the shortcut context list. |
| UnregisterTag | Removes a tag from the custom context list. |