diff --git a/spine-ts/spine-player/src/Player.ts b/spine-ts/spine-player/src/Player.ts index cb5a3b0a9..597c24e9e 100644 --- a/spine-ts/spine-player/src/Player.ts +++ b/spine-ts/spine-player/src/Player.ts @@ -936,6 +936,11 @@ export class SpinePlayer implements Disposable { } } + startRendering () { + this.stopRequestAnimationFrame = false; + requestAnimationFrame(() => this.drawFrame()); + } + stopRendering () { this.stopRequestAnimationFrame = true; }