public void OnJumpInputUp() { velocity.y = Mathf.Min(velocity.y, movingObject.GetMinJumpVelocity()); }