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 |