class in UnityEditor.ShortcutManagement
/
继承自:ShortcutManagement.ShortcutBaseAttribute
Registers a static method as the action for an action shortcut.
An action shortcut triggers when the binding for the shortcut is pressed down. The method that this attribute is placed on must either take no arguments or take a single argument of type ShortcutArguments.
You can bind a ClutchShortcutAttribute and a ShortcutAttribute to the same mouse button. In this case, the action shortcut triggers when the mouse button is released.
displayName | 在配置界面中列出快捷方式时,快捷方式 ID 的可选覆盖。 |
ShortcutAttribute | 使用 ID、可选上下文和可选默认绑定为操作快捷方式 创建属性。 |