public override UIAnimation_Base GetNewAnimation() { NewValues newValues = GetNewValues(); UILineAnimation_FillPercent newAnimation = new UILineAnimation_FillPercent(myUILineAnimator, onCompleteAction, tweenType, newValues.newStartValue, newValues.newEndValue, newValues.newDeltaValue, newValues.newDuration, easeCurve, loopType, loopCount); return(newAnimation); }
//////////////////////////////////////// // // FillPercent Functions #region FillPercentFunctions protected void AddFillPercentAnimation(UIAnimation_Base.TweenType tweenType, Action onCompleteAction, float startFillPercent, float endFillPercent, float deltaFillPercent, float duration, AnimationCurve easeCurve, UIAnimation_Base.LoopType loopType, int loopCount) { UILineAnimation_FillPercent newUIAnimationFillPercent = new UILineAnimation_FillPercent(this, onCompleteAction, tweenType, startFillPercent, endFillPercent, deltaFillPercent, duration, easeCurve, loopType, loopCount); myUIAnimationsFillPercent.Enqueue(newUIAnimationFillPercent); }