Class InputControlListExtensions
Inheritance
System.Object
InputControlListExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: UnityEngine.Experimental.Input
Syntax
public static class InputControlListExtensions
Methods
ToControlList<TControl>(IEnumerable<TControl>)
Declaration
public static InputControlList<TControl> ToControlList<TControl>(this IEnumerable<TControl> list)where TControl : InputControl
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TControl> | list |
Returns
| Type | Description |
|---|---|
| InputControlList<TControl> |
Type Parameters
| Name | Description |
|---|---|
| TControl |
ToControlList<TControl>(IReadOnlyList<TControl>)
Declaration
public static InputControlList<TControl> ToControlList<TControl>(this IReadOnlyList<TControl> list)where TControl : InputControl
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<TControl> | list |
Returns
| Type | Description |
|---|---|
| InputControlList<TControl> |
Type Parameters
| Name | Description |
|---|---|
| TControl |