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<UnityEngine.Vector2>.Process(UnityEngine.Vector2, UnityEngine.InputSystem.InputControl)
Declaration
public override string ToString()
Returns
Overrides
See Also