Ejemplo n.º 1
0
        public void Start(TweenParams <T> tweenParams, IEasingClip easingClip)
        {
            m_TweenParams = tweenParams;
            m_EasingClip  = easingClip;
            m_Elapsed     = 0f;

            if (!m_IsPlaying)
            {
                Updater.defaultUpdater.AddTarget(this, m_AnimatePhysics == 1f);
            }

            m_IsPlaying = true;
        }
Ejemplo n.º 2
0
 public void Start(TweenParams <T> tweenParams, float duration)
 {
     Start(tweenParams, new SmoothstepClip(duration));
 }