Struct DeviceRemoveEvent | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    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

    Device that got removed is the one identified by deviceId of baseEvent.

    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
    IInputEventTypeInfo.GetTypeStatic()

    ToEventPtr()

    Declaration
    public InputEventPtr ToEventPtr()
    Returns
    Type Description
    InputEventPtr
    Back to top Copyright © 2015-2018 Unity
    Generated by DocFX