public void ForceDone() { is_animating = false; sleep_timer.StopClear(); current_value = target_value; OnAnimate.InvokeAll(); OnDone.InvokeAll(); }
public void ForceDone() { is_active = false; sleep_timer.StopClear(); current_value = GetTargetValue(); OnUpdate.InvokeAll(); OnDone.InvokeAll(); }