Class TouchPhaseControl
A control reading a TouchPhase value.
Inherited Members
Namespace: UnityEngine.InputSystem.Controls
Syntax
public class TouchPhaseControl : InputControl<TouchPhase>
Remarks
This is used mainly by Touchscreen to read phase.
Constructors
TouchPhaseControl()
Default-initialize the control.
Declaration
public TouchPhaseControl()
Remarks
Format of the control is FormatInt by default.
Methods
ReadUnprocessedValueFromState(Void*)
Declaration
public override TouchPhase ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
Void* | statePtr |
Returns
Type | Description |
---|---|
TouchPhase |
Overrides
WriteValueIntoState(TouchPhase, Void*)
Declaration
public override void WriteValueIntoState(TouchPhase value, void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
TouchPhase | value | |
Void* | statePtr |