ReserveModifiersAttribute
Provides an attribute that reserves one or multiple modifiers for a specific shortcut.
Read time 3 minutesLast updated 12 days ago
Definition
- Type: Class
- Namespace: UnityEditor.ShortcutManagement
- Assembly: UnityEditor.CoreModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)]public class ReserveModifiersAttribute : Attribute
Remarks
A reserved modifier does not prevent a shortcut from triggering when another key is pressed.
Constructors
Constructor | Description |
|---|---|
| ReserveModifiersAttribute(UnityEditor.ShortcutManagement.ShortcutModifiers) | Creates an attribute that reserves a modifier for a single shortcut. |
Properties
Property | Description |
|---|---|
| Modifiers | One or more modifiers to reserve. |