step() публичный Метод

public step ( float dt ) : void
dt float
Результат void
Пример #1
0
        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 void step(float dt)
 {
     _innerAction.step(dt * _speed);
 }