isDone() public method

public isDone ( ) : bool
return bool
Example #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);
            }
        }
 public override bool isDone()
 {
     return(_innerAction.isDone());
 }