public static Tweener DoScale(this Transform target, Vector3 endValue, float variable)
        {
            Tweener t = new TransformScaleTweener(target, endValue, variable);

            t.DoTween();
            return(t);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Transform 缩放
        /// </summary>
        /// <param name="target"></param>
        /// <param name="endValue"></param>
        /// <param name="variable"></param>
        /// <returns></returns>
        public static Tweener DoScale(this Transform target, Vector3 endValue, float variable)
        {
            Tweener t = new TransformScaleTweener(target, endValue, variable);

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