Class AnyKeyControl
A control that simply checks the entire state it's been assigned for whether there's any non-zero bytes. If there are, the control returns 1.0; otherwise it returns 0.0.
Inherited Members
Namespace: UnityEngine.InputSystem.Controls
Syntax
public class AnyKeyControl : ButtonControl
Constructors
AnyKeyControl()
Declaration
public AnyKeyControl()
Methods
ReadUnprocessedValueFromState(Void*)
Declaration
public override float ReadUnprocessedValueFromState(void *statePtr)
Parameters
| Type | Name | Description | 
|---|---|---|
| System.Void* | statePtr | 
Returns
| Type | Description | 
|---|---|
| System.Single |