From 67f11d7f228d445166969d16992fc81d725dddce Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 18 五月 2026 14:39:45 +0800
Subject: [PATCH] 0312 启动日志 测试硬核无广告渠道不能跳过广告问题
---
Main/System/BoneField/AdsManager.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Main/System/BoneField/AdsManager.cs b/Main/System/BoneField/AdsManager.cs
index be61e85..70bb923 100644
--- a/Main/System/BoneField/AdsManager.cs
+++ b/Main/System/BoneField/AdsManager.cs
@@ -103,6 +103,7 @@
if (!InvestModel.Instance.IsInvested(InvestModel.monthCardType) &&
!InvestModel.Instance.IsInvested(InvestModel.foreverCardType))
{
+ Debug.LogFormat("ads:SDKUtils.channelSign = |{0}|", SDKUtils.channelSign);
//鏈夊箍鍛婄殑SDK
if (VersionConfig.Get().appId == "ryzj" && !string.IsNullOrEmpty(SDKUtils.channelSign) &&
!GeneralDefine.noAdsChannels.Contains(SDKUtils.channelSign))
@@ -111,6 +112,7 @@
//濂栧姳闇�瑕佽缃爣璇嗗搴斿彂鏀�
if (WaitForLoadNewAd())
{
+ Debug.Log("ads:绛夊緟骞垮憡");
SysNotifyMgr.Instance.ShowTip("AdLoadFail");
return;
}
@@ -121,12 +123,13 @@
var aDAwardConfig = ADAwardConfig.Get(waitAdID);
waitRemainAdsCount = aDAwardConfig.ADCntMax - adsCnt;
-
+ Debug.Log("ads:鎾斁骞垮憡");
SDKUtils.Instance.PlayAds("b69a2b68bb3d22");
return;
}
}
+ Debug.LogFormat("ads:鐩存帴棰嗗彇骞垮憡 {0}", ADID);
//娌″箍鍛婄殑SDK 鐩存帴缁欏鍔�
GetAdsAward(ADID);
}
--
Gitblit v1.8.0