|
|
@@ -38,10 +38,12 @@ function A6ybwx() {
|
|
|
useEffect(() => {
|
|
|
if (gotoTab !== 0) {
|
|
|
// 停止动画
|
|
|
- callIframeFu('setLazyMode', 1)
|
|
|
+ callIframeFu('setLazyMode', true)
|
|
|
+ callIframeFu('setUnityTimeScale', 0)
|
|
|
} else {
|
|
|
// 恢复动画
|
|
|
- callIframeFu('setLazyMode', 0)
|
|
|
+ callIframeFu('setLazyMode', false)
|
|
|
+ callIframeFu('setUnityTimeScale', 1)
|
|
|
}
|
|
|
// console.log('xxxxxxx', gotoTab)
|
|
|
}, [gotoTab])
|