Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShortcutManager

Provides access to an instance of IShortcutManager for managing shortcuts.
Read time 1 minuteLast updated 10 days ago

Definition

public static class ShortcutManager

Static Fields

Value

Description

defaultProfileIdA constant defining the ID of the default shortcut profile. See the documentation for the IShortcutManager.activeProfileId property.

Static Properties

Property

Description

instanceAn instance of the IShortcutManager interface used for managing shortcuts in the editor.

Static Methods

Method

Description

RegisterContextRegisters a IShortcutContext as a custom context used to filter shortcuts.
RegisterTagRegisters the tag as a custom context used to filter shortcuts after a window context is determined.
UnregisterContextRemoves a IShortcutContext from the shortcut context list.
UnregisterTagRemoves a tag from the custom context list.