API ReferenceEditor
public static abstract sealed class Editor.EditorShortcuts
Methods
Showing 4 methods
public static string GetDefaultKeys(string identifier)
Returns the default keybind for a given identifier
Parameters
identifier: The identifier of the shortcut
public static string GetDisplayKeys(string identifier)
Returns the pretty key hint for a given identifier
Parameters
identifier: The identifier of the shortcut
public static string GetKeys(string identifier)
Returns the keybind for a given identifier
Parameters
identifier: The identifier of the shortcut
public static bool IsDown(string identifier)
Returns whether a given shortcut is currently being held down
Parameters
identifier: The identifier of the shortcut
No results match this filter.
Properties
Showing 2 properties
public static bool Editor.EditorShortcuts.AllowShortcuts { get; set; }
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.EditorShortcuts |