Ejemplo n.º 1
0
        public static ITweenRemoteControl TweenScale2D(this Transform t, Vector2 toValue, float duration, TweenerPlayStyle style)
        {
            var tween = TweenHandlerStaticFactory.Create(t, toValue, duration, style);

            TweenUpdaterMono.Instance.Subscribe(tween);
            return(tween.GetRemote());
        }
Ejemplo n.º 2
0
        public static ITweenRemoteControl TweenAlpha(this Graphic obj, float toValue, float duration, TweenerPlayStyle style)
        {
            var tween = TweenHandlerStaticFactory.Create(obj, toValue, duration, style);

            TweenUpdaterMono.Instance.Subscribe(tween);
            return(tween.GetRemote());
        }