public override UIAnimation_Base GetNewAnimation() { NewValues newValues = GetNewValues(); UICircleAnimation_Angle newAnimation = new UICircleAnimation_Angle(myUICircleAnimator, onCompleteAction, tweenType, newValues.newStartValue, newValues.newEndValue, newValues.newDeltaValue, newValues.newDuration, easeCurve, loopType, loopCount); return(newAnimation); }
//////////////////////////////////////// // // Angle Functions #region AngleFunctions protected void AddAngleAnimation(UIAnimation_Base.TweenType tweenType, Action onCompleteAction, float startAngle, float endAngle, float deltaAngle, float duration, AnimationCurve easeCurve, UIAnimation_Base.LoopType loopType, int loopCount) { UICircleAnimation_Angle newUIAnimationAngle = new UICircleAnimation_Angle(this, onCompleteAction, tweenType, startAngle, endAngle, deltaAngle, duration, easeCurve, loopType, loopCount); myUIAnimationsAngle.Enqueue(newUIAnimationAngle); }