Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShortcutModifiers

Represents modifier keys for use in a shortcut binding.
Read time 1 minuteLast updated 11 days ago

Definition

[Flags]public enum ShortcutModifiers

Fields

Value

Description

ActionControl key on Windows and Linux. Command key on macOS.
AltAlt key (or Option key on macOS).
ControlMarks that the Control key modifier is part of the key combination. Resolves to control key on Windows, macOS, and Linux.
NoneNo modifier keys.
ShiftShift key.