Struct DeviceRemoveEvent
Notifies about the removal of an input device.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: UnityEngine.Experimental.Input.LowLevel
Syntax
public struct DeviceRemoveEvent : IInputEventTypeInfo
Remarks
Fields
baseEvent
Common event data.
Declaration
public InputEvent baseEvent
Field Value
| Type | Description |
|---|---|
| InputEvent |
Type
Declaration
public const int Type = 1146242381
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Create(Int32, Double)
Declaration
public static DeviceRemoveEvent Create(int deviceId, double time = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | deviceId | |
| System.Double | time |
Returns
| Type | Description |
|---|---|
| DeviceRemoveEvent |
GetTypeStatic()
Declaration
public FourCC GetTypeStatic()
Returns
| Type | Description |
|---|---|
| FourCC |
Implements
ToEventPtr()
Declaration
public InputEventPtr ToEventPtr()
Returns
| Type | Description |
|---|---|
| InputEventPtr |