This commit is contained in:
huanghaipeng 2025-10-21 10:22:35 +08:00
parent d0ed9bfe4e
commit b0ed21d091

View File

@ -1523,7 +1523,6 @@ var GameTool = {
MiniGameSdk.AdvertManager.instance.showVideo('adunit-32a23bc2b2f4ee0a', videoData, (res: MiniGameSdk.EAdVideoResult, count: number) => {
if (timeoutId) clearTimeout(timeoutId);
console.log('用户看的视频广告个数是:', count);
// 根据用户观看广告的结果执行不同的逻辑s
console.log('用户观看视频广告结果:', res);
if (scene) scene.closeLoad();
let duration = Math.floor(Date.now() / 1000) - cc.fx.GameConfig.GM_INFO.videoTime;