public override UIAnimation_Base GetNewAnimation() { NewValues newValues = GetNewValues(); UICircleAnimation_AngleOffset newAnimation = new UICircleAnimation_AngleOffset(myUICircleAnimator, onCompleteAction, tweenType, newValues.newStartValue, newValues.newEndValue, newValues.newDeltaValue, newValues.newDuration, easeCurve, loopType, loopCount); return(newAnimation); }
//////////////////////////////////////// // // AngleOffset Functions #region AngleOffsetFunctions protected void AddAngleOffsetAnimation(UIAnimation_Base.TweenType tweenType, Action onCompleteAction, float startAngleOffset, float endAngleOffset, float deltaAngleOffset, float duration, AnimationCurve easeCurve, UIAnimation_Base.LoopType loopType, int loopCount) { UICircleAnimation_AngleOffset newUIAnimationAngleOffset = new UICircleAnimation_AngleOffset(this, onCompleteAction, tweenType, startAngleOffset, endAngleOffset, deltaAngleOffset, duration, easeCurve, loopType, loopCount); myUIAnimationsAngleOffset.Enqueue(newUIAnimationAngleOffset); }