private void DrawHermiteCurve(FlexibleScollBar.Point startPoint, FlexibleScollBar.Point endPoint)
 {
     FlexibleScollBar.Point lastPoint = startPoint;
     for (float i = 0; i < 1f; i += 0.01f)
     {
         FlexibleScollBar.Point nextPoint = FlexibleScollBar.GetHermiteCurvePoint(startPoint, endPoint, i);
         Handles.DrawLine(lastPoint.position, nextPoint.position);
         lastPoint = nextPoint;
     }
 }
 private void DrawHandles(FlexibleScollBar.Point point)
 {
     Handles.DrawLine(point.position - point.tanget, point.position + point.tanget);
 }