s&box docs

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

Properties

Showing 2 properties

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.

Metadata

FieldValue
NamespaceEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.EditorShortcuts

On this page