ドキュメント

Unity Engine

Unity Engine

RenameProfile(string, string)

Renames the ID of a profile.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

void RenameProfile(string profileId, string newProfileId)

Parameters

profileId

ID of existing profile.

newProfileId

New ID for profile.

Remarks

Changes the ID of the
Throws
ArgumentNullException
if
profileId
or
newProfileId
is null. Throws
ArgumentException
if
profileId
is not available. Throws
ArgumentException
if profile is read-only, i.e. IShortcutManager.IsProfileReadOnly returns
true
for
profileId
. Throws
ArgumentException
if
newProfileId
is already available, i.e. when IShortcutManager.GetAvailableProfileIds contains
newProfileId
. Throws
ArgumentException
if newProfileId is invalid.