ShortcutArguments
Provides data for shortcut action methods invoked by the shortcut system.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
public struct ShortcutArguments
Remarks
See ShortcutAttribute and ClutchShortcutAttribute.
Fields
Value | Description |
|---|---|
| context | Instance of the context in which the shortcut was triggered. |
| sourceEvent | The input event that triggered the shortcut. |
| stage | The stage at which a shortcut action was invoked. |