ドキュメント

Unity Engine

Unity Engine

ClearShortcutOverride(string)

Clears the binding for shortcut with given shortcut ID from the active profile.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

void ClearShortcutOverride(string shortcutId)

Parameters

shortcutId

ID of shortcut to clear override for.

Remarks

Throws
ArgumentNullException
if
shortcutId
is
null
. Throws
InvalidOperationException
if the active profile is read-only, i.e. when IsReadOnlyProfile returns
true
for IShortcutManager.activeProfileId. Throws
InvalidArgumentException
when
shortcutId
is not an available shortcut ID, i.e. when IShortcutManager.GetAvailableShortcutIds does not contain
shortcutId
.