IsShortcutOverridden(string)
Does the active profile override the binding for the given shortcut ID?
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
bool IsShortcutOverridden(string shortcutId)
Parameters
ID of shortcut to determine overridden status for.
Returns
Type | Description |
|---|---|
| bool | |
Remarks
Returns if the profile referenced by IShortcutManager.activeProfileId overrides the binding for the given shortcut ID. This includes the cases where the binding is overridden to the same as the default or to the empty binding. It returns false if the active profile does not specify a binding for the given shortcut ID.
trueThrows if is . Throws if is not available, i.e. when IShortcutManager.GetAvailableShortcutIds does not contain .
ArgumentNullExceptionshortcutIdnullArgumentExceptionshortcutIdshortcutId