context
Instance of the context in which the shortcut was triggered.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Field
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
public object context
Remarks
If the triggered shortcut was registered with a context of type EditorWindow then will be the instance of the EditorWindow in which the shortcut was triggered.
context