This commit is contained in:
Andrey Sharshov
2025-11-16 18:54:31 +01:00
commit 9487728656
2342 changed files with 62687 additions and 0 deletions

8
utils/SpineHelper.js Normal file
View File

@@ -0,0 +1,8 @@
export class SpineHelper {
static skip(spine, trackIndex = 0) {
const track = spine.state.tracks[trackIndex];
track.trackTime = track.animation.duration;
track.loop = false;
spine.update(0);
}
}