Ejemplo n.º 1
0
        internal override void Reset()
        {
            base.Reset();

            now_time_  = 0;
            ease_func_ = EaseFuncs.GetEaseFunc(ease_type_);
            // if the loopType is Pingpong, then repeat_cnt should multiplay 2.
            repeat_cnt_dynamic_ = repeatCnt * (loopType == LoopType.Pingpong ? 2 : 1);
            is_reverse_         = false;
        }
Ejemplo n.º 2
0
        internal override void Reset()
        {
            base.Reset();

            now_time_ = 0;
            ease_func_ = EaseFuncs.GetEaseFunc(ease_type_);
            // if the loopType is Pingpong, then repeat_cnt should multiplay 2.
            repeat_cnt_dynamic_ = repeatCnt * (loopType == LoopType.Pingpong ? 2 : 1);
            is_reverse_ = false;
        }