LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

EventModifiers

enumeration

Description

Types of modifier key that can be active during a keystroke event.

Properties

NoneNo modifier key pressed during a keystroke event.
ShiftShift key.
ControlControl key.
AltAlt key.
CommandCommand key (Mac).
NumericNum lock key.
CapsLockCaps lock key.
FunctionKeyFunction key.