private void ChangeColor() { AnimCurveController.Color(curve, start, end, totalTime, widget, () => { if (bLoop) { ChangeColor(); } }); }