Documentation

Unity Engine

Unity Engine

context

Instance of the context in which the shortcut was triggered.
Read time 1 minuteLast updated a month ago

Definition

public object context

Remarks

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.