Class InputDeviceUtility | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class InputDeviceUtility

    Inheritance
    Object
    InputDeviceUtility
    Namespace: UnityEngine.InputNew
    Syntax
    public static class InputDeviceUtility

    Methods

    GetDevice(Type)

    Declaration
    public static InputDevice GetDevice(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    InputDevice

    GetDeviceControlName(DeviceSlot, InputControlDescriptor)

    Declaration
    public static string GetDeviceControlName(DeviceSlot deviceSlot, InputControlDescriptor source)
    Parameters
    Type Name Description
    DeviceSlot deviceSlot
    InputControlDescriptor source
    Returns
    Type Description
    String

    GetDeviceControlNames(Type)

    Declaration
    public static string[] GetDeviceControlNames(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    String[]

    GetDeviceIndex(Type)

    Declaration
    public static int GetDeviceIndex(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    Int32

    GetDeviceName(DeviceSlot)

    Declaration
    public static string GetDeviceName(DeviceSlot deviceSlot)
    Parameters
    Type Name Description
    DeviceSlot deviceSlot
    Returns
    Type Description
    String

    GetDeviceNames()

    Declaration
    public static string[] GetDeviceNames()
    Returns
    Type Description
    String[]

    GetDeviceNameWithTag(DeviceSlot)

    Declaration
    public static string GetDeviceNameWithTag(DeviceSlot deviceSlot)
    Parameters
    Type Name Description
    DeviceSlot deviceSlot
    Returns
    Type Description
    String

    GetDeviceTags(Type)

    Declaration
    public static string[] GetDeviceTags(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    String[]

    GetDeviceType(Int32)

    Declaration
    public static Type GetDeviceType(int index)
    Parameters
    Type Name Description
    Int32 index
    Returns
    Type Description
    Type
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023