Coherent UI for Unity3D  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.KeyEventData Class Reference

A keyboard event. More...

Inherits IDisposable.

Properties

int KeyCode [get, set]
 The key code. More...
 
KeyEventData.EventType Type [get, set]
 The type of the event. More...
 
EventModifiersState Modifiers [get, set]
 The current key modifiers. More...
 
bool IsAutoRepeat [get, set]
 Is it an auto-repeat event (the user is holding the key down). This value isn't crucial and you can set it to false if you don't have the information, however you might experience incorrect repeat behavior in such case. More...
 
bool IsNumPad [get, set]
 Is it a key from the num-pad. More...
 

Detailed Description

A keyboard event.

Property Documentation

bool Coherent.UI.KeyEventData.IsAutoRepeat
getset

Is it an auto-repeat event (the user is holding the key down). This value isn't crucial and you can set it to false if you don't have the information, however you might experience incorrect repeat behavior in such case.

bool Coherent.UI.KeyEventData.IsNumPad
getset

Is it a key from the num-pad.

int Coherent.UI.KeyEventData.KeyCode
getset

The key code.

EventModifiersState Coherent.UI.KeyEventData.Modifiers
getset

The current key modifiers.

KeyEventData.EventType Coherent.UI.KeyEventData.Type
getset

The type of the event.