优化admob初始化
This commit is contained in:
parent
4faae793cf
commit
e61b11be7b
|
@ -42,12 +42,13 @@ namespace WZ
|
|||
//
|
||||
MobileAds.Initialize(initStatus =>
|
||||
{
|
||||
LoggerUtils.Debug("[Admob] init success");
|
||||
});
|
||||
|
||||
if (_bannerAdUnits.Count > 0) LoadBanner();
|
||||
if (_interstitialAdUnits.Count > 0) LoadInterstitial();
|
||||
if (_rewardedAdUnits.Count > 0) LoadRewarded();
|
||||
if(_splashAdUnits.Count > 0) AdsSplashManager.Instance.InitSplash();
|
||||
LoggerUtils.Debug("[Admob] init success");
|
||||
});
|
||||
|
||||
if (_nativeAdUnits.Count > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue