기술 자료

Unity Engine

Unity Engine

EventModifiers

Types of modifier key that can be active during an event.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
[Flags]public enum EventModifiers

Remarks

Note that there can be multiple modifiers active at once.
Additional Resources: Event, GUI Scripting Guide.

Fields

Value

Description

AltIs Alt/Option key held down?
CapsLockIs Caps Lock on?
CommandIs Command/Windows key held down?
ControlIs Control key held down?
FunctionKeyDetermines whether the current key press is a function key.
NoneNo modifier key pressed during a keystroke event.
NumericIs the current keypress on the numeric keyboard?
ShiftIs Shift held down?