EventModifiers
Types of modifier key that can be active during an event.
Read time 1 minuteLast updated 5 days ago
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 |
|---|---|
| Alt | Is Alt/Option key held down? |
| CapsLock | Is Caps Lock on? |
| Command | Is Command/Windows key held down? |
| Control | Is Control key held down? |
| FunctionKey | Determines whether the current key press is a function key. |
| None | No modifier key pressed during a keystroke event. |
| Numeric | Is the current keypress on the numeric keyboard? |
| Shift | Is Shift held down? |