Class InputEvent
Namespace: UnityEngine.InputNew
Syntax
public abstract class InputEvent
Properties
device
Declaration
public InputDevice device { get; set; }
Property Value
| Type | Description |
|---|---|
| InputDevice |
deviceIndex
Declaration
public int deviceIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
deviceType
Declaration
public Type deviceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Type |
time
Declaration
public float time { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| String |