activeProfileId
Gets or sets the ID of the currently active profile.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
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