ShortcutArguments
Provides data for shortcut action methods invoked by the shortcut system.
阅读时间1 分钟最后更新于 6 天前
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. |