CreateProfile(string)
Creates a new profile with the given profile ID.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
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