Version: 2021.3
LanguageEnglish
  • C#

ShortcutBinding

struct in UnityEditor.ShortcutManagement

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Represents a key binding used to trigger a shortcut.

Static Properties

emptyA key combination representing the empty binding.

Properties

keyCombinationSequenceThe sequence of key combinations required to trigger a shortcut with this binding.

Constructors

ShortcutBindingCreates a shortcut binding from a single key combination.

Public Methods

EqualsDetermines whether this instance and another specified ShortcutBinding instance have the same value.
GetHashCodeReturns the hash code for the value of this instance.
ToStringConverts the value of the current ShortcutBinding object to its equivalent string representation.