文档

Unity Engine

Unity Engine

ReserveModifiersAttribute

Provides an attribute that reserves one or multiple modifiers for a specific shortcut.
阅读时间3 分钟最后更新于 1 个月前

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