Beispiel #1
0
        private static IEnumerator DoClip <T>(ITweenClip <T> tweenClip, ISumable <T> sumable)
        {
            float timer = 0;
            var   res   = sumable.Reduce(tweenClip.to, tweenClip.from);

            while (timer < tweenClip.duration)
            {
                var progress = timer / tweenClip.duration;
            }


            yield return(null);
        }
 public decimal GetMonthRate(int numberOfRates, ISumable products)
 {
     return(products.GetSum() / numberOfRates);
 }
Beispiel #3
0
 /// <summary>
 /// Not implemt
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="tweenClip"></param>
 /// <param name="sumable"></param>
 public static void DoTween <T>(ITweenClip <T> tweenClip, ISumable <T> sumable)
 {
     CoroutineHelper.StaticStartCoroutine(DoClip(tweenClip, sumable));
 }