Api Editor EditorShortcuts
class

EditorShortcuts

public static abstract sealed class EditorShortcuts

Properties

Name Type Description
AllowShortcuts static Boolean
PassShortcut static Boolean 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.

Methods

static String GetKeys(String identifier)

Returns the keybind for a given identifier

identifier — The identifier of the shortcut
static String GetDisplayKeys(String identifier)

Returns the pretty key hint for a given identifier

identifier — The identifier of the shortcut
static String GetDefaultKeys(String identifier)

Returns the default keybind for a given identifier

identifier — The identifier of the shortcut
static Boolean IsDown(String identifier)

Returns whether a given shortcut is currently being held down

identifier — The identifier of the shortcut

Fields

Name Type Description
Entries static List<Entry>
Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.EditorShortcuts