Exemple #1
0
        public void ForceDone()
        {
            is_animating = false;
            sleep_timer.StopClear();

            current_value = target_value;

            OnAnimate.InvokeAll();
            OnDone.InvokeAll();
        }
Exemple #2
0
        public void ForceDone()
        {
            is_active = false;
            sleep_timer.StopClear();

            current_value = GetTargetValue();

            OnUpdate.InvokeAll();
            OnDone.InvokeAll();
        }