Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DeleteProfile(string)

Deletes profile with the given profile ID.
Read time 1 minuteLast updated 13 days ago

Definition

void DeleteProfile(string profileId)

Parameters

profileId

ID of profile to delete.

Remarks

Throws
ArgumentNullException
if
profileId
is
null
. Throws
ArgumentException
if
profileId
is not avaliable, i.e. when IShortcutManager.GetAvailableProfileIds does not contain
profileId
. Throws
ArgumentException
if
profileId
is read-only, i.e. when IShortcutManager.IsProfileReadOnly returns
true
for
profileId
.