public float GetValue(InputManager manager) { var value = joystick.GetValue(manager); if (Math.Abs(value) < deadZone) { return(0f); } return(value); }
public float GetValue(InputManager manager) { var value = mouseAxis.GetValue(manager) * mouseSensitivity; return(negative ? -value : value); }