Class IntegerControl
A generic input control reading integer values.
Inherited Members
Namespace: UnityEngine.InputSystem.Controls
Syntax
[Preserve]
public class IntegerControl : InputControl<int>
Constructors
IntegerControl()
Default-initialize an integer control.
Declaration
public IntegerControl()
Methods
ReadUnprocessedValueFromState(Void*)
Declaration
public override int ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
Void* | statePtr |
Returns
Type | Description |
---|---|
Int32 |
Overrides
UnityEngine.InputSystem.InputControl<System.Int32>.ReadUnprocessedValueFromState(System.Void*)
WriteValueIntoState(Int32, Void*)
Declaration
public override void WriteValueIntoState(int value, void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
Int32 | value | |
Void* | statePtr |
Overrides
UnityEngine.InputSystem.InputControl<System.Int32>.WriteValueIntoState(System.Int32, System.Void*)