API ReferenceEditor
EditorShortcutsclass
object→EditorShortcuts
Methods5
Showing 5 methods
public static string GetDefaultKeys(string identifier)
Returns the default keybind for a given identifier
| Parameter | Type | Description |
|---|---|---|
| identifier | string | The identifier of the shortcut |
Returns:
string—public static string GetDisplayKeys(string identifier)
Returns the pretty key hint for a given identifier
| Parameter | Type | Description |
|---|---|---|
| identifier | string | The identifier of the shortcut |
Returns:
string—public static string GetKeys(string identifier)
Returns the keybind for a given identifier
| Parameter | Type | Description |
|---|---|---|
| identifier | string | The identifier of the shortcut |
Returns:
string—public static bool IsDown(string identifier)
Returns whether a given shortcut is currently being held down
| Parameter | Type | Description |
|---|---|---|
| identifier | string | The identifier of the shortcut |
Returns:
bool—public static void ReleaseAll()
Returns:
void—No results match this filter.
Properties2
Showing 2 properties
public static bool Editor.EditorShortcuts.AllowShortcuts { get; set; }
Returns:
bool—public static bool Editor.EditorShortcuts.PassShortcut { get; set; }
Set this to true in a shortcut method to indicate the shortcut should not be consumed, allowing other shortcuts with the same key binding to be tried.
Returns:
bool—No results match this filter.