This commit is contained in:
donggang
2024-04-11 14:57:13 +08:00
parent 0cfcf23140
commit f0578e8d41

View File

@@ -19,4 +19,8 @@ export class GameManager {
setTimeScale(scale: number) {
director.globalGameTimeScale = scale;
}
/** 获取游戏动画速度 */
getTimeScale() {
return director.globalGameTimeScale;
}
}