Method DoRecentering
DoRecentering(ref AxisState, float, float)
Bring the axis back to the centered state (only if enabled).
Declaration
public void DoRecentering(ref AxisState axis, float deltaTime, float recenterTarget)
Parameters
| Type | Name | Description |
|---|---|---|
| AxisState | axis | The axis to recenter |
| float | deltaTime | Current effective deltaTime |
| float | recenterTarget | The value that is considered to be centered |