Class KeyboardEvent
Namespace: UnityEngine.InputNew
Syntax
public class KeyboardEvent : InputEvent
Properties
isDown
Declaration
public bool isDown { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
isRepeat
Declaration
public bool isRepeat { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
key
Declaration
public KeyCode key { get; set; }
Property Value
Type | Description |
---|---|
KeyCode |
modifiers
Declaration
public int modifiers { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |