Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

ShortcutArguments.context

public object context;

Description

Instance of the context in which the shortcut was triggered.

If the triggered shortcut was registered with a context of type EditorWindow then context will be the instance of the EditorWindow in which the shortcut was triggered.

Did you find this page useful? Please give it a rating: