public override void step(float dt)
        {
            _innerAction.step(dt);
            if (_innerAction.isDone())
            {
                float diff = _innerAction.elapsed - _innerAction.duration;
                _innerAction.startWithTarget(_target);

                // to prevent jerk. issue #390, 1247
                _innerAction.step(0.0f);
                _innerAction.step(diff);
            }
        }
예제 #2
0
 public override bool isDone()
 {
     return(_innerAction.isDone());
 }