GetShortcutBinding(string)
Returns the active binding for the given shortcut ID.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
ShortcutBinding GetShortcutBinding(string shortcutId)
Parameters
ID of shortcut to retrieve binding for.
Returns
Type | Description |
|---|---|
| ShortcutBinding | Active binding for shortcut. |
Remarks
The return value depends on the active profile (IShortcutManager.activeProfileId). Throws if is . Throws if is not available, i.e. when IShortcutManager.GetAvailableShortcutIds does not contain .
ArgumentNullExceptionshortcutIdnullArgumentExceptionshortcutIdshortcutId