Class StepCounter
Input device representing the foot steps taken by the user as measured by the device playing the content.
Inherited Members
Namespace: UnityEngine.InputSystem
Syntax
public class StepCounter : Sensor
Properties
current
Declaration
public static StepCounter current { get; }
Property Value
Type | Description |
---|---|
StepCounter |
stepCounter
The number of steps taken by the user since the last reboot while activated.
Declaration
public IntegerControl stepCounter { get; }
Property Value
Type | Description |
---|---|
IntegerControl |
Methods
FinishSetup()
Declaration
protected override void FinishSetup()
Overrides
MakeCurrent()
Declaration
public override void MakeCurrent()
Overrides
OnRemoved()
Declaration
protected override void OnRemoved()