Struct DeviceRemoveEvent
Notifies about the removal of an input device.
Namespace: UnityEngine.InputSystem.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 |
---|---|
Int32 |
Properties
typeStatic
Declaration
public FourCC typeStatic { get; }
Property Value
Type | Description |
---|---|
FourCC |
Implements
Methods
Create(Int32, Double)
Declaration
public static DeviceRemoveEvent Create(int deviceId, double time = -1)
Parameters
Type | Name | Description |
---|---|---|
Int32 | deviceId | |
Double | time |
Returns
Type | Description |
---|---|
DeviceRemoveEvent |
ToEventPtr()
Declaration
public InputEventPtr ToEventPtr()
Returns
Type | Description |
---|---|
InputEventPtr |