Version: 2023.2

ReserveModifiersAttribute

class in UnityEditor.ShortcutManagement

切换到手册

描述

Provides an attribute that reserves one or multiple modifiers for a specific shortcut.

A reserved modifier does not prevent a shortcut from triggering when another key is pressed.

变量

ModifiersOne or more modifiers to reserve.

构造函数

ReserveModifiersAttributeCreates an attribute that reserves a modifier for a single shortcut.