public override UIAnimation_Base GetNewAnimation() { NewValues newValues = GetNewValues(); UICircleAnimation_Repetitions newAnimation = new UICircleAnimation_Repetitions(myUICircleAnimator, onCompleteAction, tweenType, newValues.newStartValue, newValues.newEndValue, newValues.newDeltaValue, newValues.newDuration, easeCurve, loopType, loopCount); return(newAnimation); }
//////////////////////////////////////// // // Repetitions Functions #region RepetitionsFunctions protected void AddRepetitionsAnimation(UIAnimation_Base.TweenType tweenType, Action onCompleteAction, float startRepetitions, float endRepetitions, float deltaRepetitions, float duration, AnimationCurve easeCurve, UIAnimation_Base.LoopType loopType, int loopCount) { UICircleAnimation_Repetitions newUIAnimationRepetitions = new UICircleAnimation_Repetitions(this, onCompleteAction, tweenType, startRepetitions, endRepetitions, deltaRepetitions, duration, easeCurve, loopType, loopCount); myUIAnimationsRepetitions.Enqueue(newUIAnimationRepetitions); }