Struct InputDeviceReference | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct InputDeviceReference

    Reference to one or more InputDevice which can be persisted and also graphically edited in the editor.

    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
    Syntax
    public struct InputDeviceReference

    Properties

    devicePath

    Declaration
    public string devicePath { get; set; }
    Property Value
    Type Description
    System.String

    devices

    Declaration
    public ReadOnlyArray<InputDevice> devices { get; }
    Property Value
    Type Description
    ReadOnlyArray<InputDevice>

    Methods

    Set(InputDevice)

    Set reference to point to one specific device.

    Declaration
    public void Set(InputDevice device)
    Parameters
    Type Name Description
    InputDevice device
    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