Ejemplo n.º 1
0
        public static ScaleTween RunZ(GameObject item, float scaleZ, float duration)
        {
            ScaleTween tween = Create <ScaleTween>(item, duration);

            tween._targetScale        = new Vector3(0f, 0f, scaleZ);
            tween._scalingCoordinates = new bool[] { false, false, true };
            return(tween);
        }
Ejemplo n.º 2
0
        public static ScaleTween Run(GameObject item, Vector3 scale, float duration)
        {
            ScaleTween tween = Create <ScaleTween>(item, duration);

            tween._targetScale        = scale;
            tween._scalingCoordinates = new bool[] { true, true, true };
            return(tween);
        }