public static Tweener To(DoGetter <float> getter, DoSetter <float> setter, float toNumber, float variable)
        {
            Tweener t = new FloatTweener(getter, setter, toNumber, variable);

            t.DoTween();
            return(t);
        }
示例#2
0
        /// <summary>
        /// float 数值
        /// </summary>
        /// <param name="number"></param>
        /// <param name="toNumber"></param>
        /// <param name="variable"></param>
        /// <returns></returns>
        public static Tweener To(DoGetter <float> getter, DoSetter <float> setter, float toNumber, float variable)
        {
            Tweener t = new FloatTweener(getter, setter, toNumber, variable);

            TweenManager.Instance.AddTween(t);
            return(t);
        }