class in UnityEditor.ShortcutManagement
/
继承自:ShortcutManagement.ShortcutAttribute
Registers a static method as the action for a clutch shortcut.
A clutch shortcut is triggered when the user presses the key binding for the shortcut and also when the user releases the key. The method on which this attribute is placed must take a single argument of type ShortcutArguments.
You can bind a ClutchShortcutAttribute and a ShortcutAttribute to the same mouse button. In this case, the clutch shortcut triggers when the mouse button is slightly dragged and also when it is released.
ClutchShortcutAttribute | 使用 ID、可选上下文和可选默认绑定为控制快捷方式 创建属性。 |
displayName | 在配置界面中列出快捷方式时,快捷方式 ID 的可选覆盖。 |