// 传入spine与进度比例(注意初始要把spine的TimeScale设置为0)
updateSpine(spine: sp.Skeleton,rate: number) {
const track = spine.getCurrent(0);
const timeEnd = track.animationEnd;
const current = timeEnd * rate;
track.animationStart = current;
spine.setToSetupPose();
}