load好后直接隐藏Banner,不自动显示出来。

This commit is contained in:
luojian 2025-09-03 14:56:58 +08:00
parent ab3f9476c9
commit 1a695a590e
1 changed files with 3 additions and 0 deletions

View File

@ -36,6 +36,9 @@ namespace WZ
}
var bannerAds = new BannerView(adUnitId, AdSize.Banner, type == BannerAliignType.BannerCenterBottomAlign ? AdPosition.Bottom : AdPosition.Top);
bannerAds.Hide();
_bannerAds[adUnitId] = bannerAds;
_retryCounters[adUnitId] = 0;
_adRevenueCache[adUnitId] = 0;