setEffectiveTimeScale method

dynamic setEffectiveTimeScale(
  1. dynamic timeScale
)

Implementation

setEffectiveTimeScale(timeScale) {
  this.timeScale = timeScale;
  _effectiveTimeScale = paused ? 0 : timeScale;

  return stopWarping();
}