ShortcutBinding
Represents a key binding used to trigger a shortcut.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
- Implements: IEquatable<ShortcutBinding>
public struct ShortcutBinding : IEquatable<ShortcutBinding>
Constructors
Constructor | Description |
|---|---|
| ShortcutBinding(UnityEditor.ShortcutManagement.KeyCombination) | Creates a shortcut binding from a single key combination. |
Properties
Property | Description |
|---|---|
| keyCombinationSequence | The sequence of key combinations required to trigger a shortcut with this binding. |
Static Properties
Property | Description |
|---|---|
| empty | A key combination representing the empty binding. |
Methods
Method | Description |
|---|---|
| Equals | Determines whether this instance and a specified object, which must also be a [[ShortcutBinding}} object, have the same value. |
| GetHashCode | Returns the hash code for the value of this instance. |
| ToString | Converts the value of the current ShortcutBinding object to its equivalent string representation. |