DeleteProfile(string)
Deletes profile with the given profile ID.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
void DeleteProfile(string profileId)
Parameters
ID of profile to delete.
Remarks
Throws if is . Throws if is not avaliable, i.e. when IShortcutManager.GetAvailableProfileIds does not contain . Throws if is read-only, i.e. when IShortcutManager.IsProfileReadOnly returns for .
ArgumentNullExceptionprofileIdnullArgumentExceptionprofileIdprofileIdArgumentExceptionprofileIdtrueprofileId