Ejemplo n.º 1
0
    override protected void DoTweenOut()
    {
        cachedRectTransform.anchoredPosition3D = endPosition;
        cachedTransform.localEulerAngles       = endRotation;
        cachedRectTransform.localScale         = endScale;

        TweenManager.AnchoredPositionTo(cachedRectTransform, startPosition, inDuraion, delay, inInterpolationType);
        TweenManager.RotateTo(cachedRectTransform, startRotation, inDuraion, delay, inInterpolationType);
        TweenManager.ScaleTo(cachedRectTransform, startScale, inDuraion, delay, inInterpolationType);
    }