Exemplo n.º 1
0
        private void Start()
        {
            var tweenCore    = _builder.TweenCore;
            var unknownTween = new UnityTweenUnknown(Fill, Complete)
                               .SetDuration(2.0f);

            tweenCore.Append(unknownTween);
            _builder.PlayForward();

            UnityTweenPosition posTween = new UnityTweenPosition(transform, Vector3.one);

            posTween.SetTo(Vector3.zero);
        }