ClearShortcutOverride(string)
Clears the binding for shortcut with given shortcut ID from the active profile.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
void ClearShortcutOverride(string shortcutId)
Parameters
ID of shortcut to clear override for.
Remarks
Throws if is . Throws if the active profile is read-only, i.e. when IsReadOnlyProfile returns for IShortcutManager.activeProfileId. Throws when is not an available shortcut ID, i.e. when IShortcutManager.GetAvailableShortcutIds does not contain .
ArgumentNullExceptionshortcutIdnullInvalidOperationExceptiontrueInvalidArgumentExceptionshortcutIdshortcutId