activeProfileId
Gets or sets the ID of the currently active profile.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor
string activeProfileId { get; set; }
Remarks
When active profile is changed all shortcut bindings are updated to reflect the overrides of active profile and its ancestors profiles. If the active profile is set to a profile ID of ShortcutManager.defaultProfileId then all shortcut bindings will return to their default bindings. Setter throws if the value is . Setter throws if the given profile ID is not available.
ArgumentNullExceptionnullArgumentException