Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ReserveModifiersAttribute

Provides an attribute that reserves one or multiple modifiers for a specific shortcut.
Read time 3 minutesLast updated 12 days ago

Definition

[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

ModifiersOne or more modifiers to reserve.

Inheritance

Inherited Members