context
Instance of the context in which the shortcut was triggered.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
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