Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


context

Instance of the context in which the shortcut was triggered.
Read time 1 minuteLast updated 12 days 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.