ShortcutBindingChangedEventArgs(string, ShortcutBinding, ShortcutBinding)
Initializes a new instance of the ShortcutBindingChangedEventArgs struct using the specified shortcut ID, old binding, and new binding.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
public ShortcutBindingChangedEventArgs(string shortcutId, ShortcutBinding oldBinding, ShortcutBinding newBinding)
Parameters
The ID of the shortcut that had its binding changed.
The old binding of the shortcut that had its binding changed.
The new binding of the shortcut that had its binding changed.