Processes a Vector2 to apply deadzoning according to the magnitude of the vector (rather
than just clamping individual axes). Normalizes to the min/max range.
Inheritance
StickDeadzoneProcessor
public class StickDeadzoneProcessor : InputProcessor<Vector2>
Fields
Declaration
Field Value
Value at which the lower bound deadzone starts.
Declaration
Field Value
Methods
Declaration
public override Vector2 Process(Vector2 value, InputControl control = null)
Parameters
Returns
Overrides
UnityEngine.InputSystem.InputProcessor<Vector2>.Process(Vector2, UnityEngine.InputSystem.InputControl)
Declaration
public override string ToString()
Returns
See Also