CreateProfile(string)
Creates a new profile with the given profile ID.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
void CreateProfile(string profileId)
Parameters
ID of created profile.
Remarks
Throws if is . Throws if is invalid. Throws if is not unique, i.e. when IShortcutManager.GetAvailableProfileIds contains .
ArgumentNullExceptionprofileIdnullArgumentExceptionprofileIdArgumentExceptionprofileIdprofileId