文档

Unity Engine

Unity Engine

ShortcutBindingChangedEventArgs

Provides data for the IShortcutManager.shortcutBindingChanged event.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct ShortcutBindingChangedEventArgs

Constructors

Constructor

Description

ShortcutBindingChangedEventArgs(System.String,UnityEditor.ShortcutManagement.ShortcutBinding,UnityEditor.ShortcutManagement.ShortcutBinding)Initializes a new instance of the ShortcutBindingChangedEventArgs struct using the specified shortcut ID, old binding, and new binding.

Properties

Property

Description

newBindingThe new binding for the shortcut that had its binding changed.
oldBindingThe old binding for the shortcut that had its binding changed.
shortcutIdThe ID of the shortcut that had its binding changed.