文档

Unity Engine

Unity Engine

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

public ShortcutBindingChangedEventArgs(string shortcutId, ShortcutBinding oldBinding, ShortcutBinding newBinding)

Parameters

shortcutId

The ID of the shortcut that had its binding changed.

oldBinding

The old binding of the shortcut that had its binding changed.

newBinding

The new binding of the shortcut that had its binding changed.