max isready 空广告位判断
This commit is contained in:
parent
9832233dea
commit
2f5914671c
|
@ -180,6 +180,7 @@ namespace WZ
|
||||||
|
|
||||||
private bool IsAdsAvailable(string adUnit, AdsType adsType)
|
private bool IsAdsAvailable(string adUnit, AdsType adsType)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(adUnit)) return false;
|
||||||
if (adsType == AdsType.Rewarded)
|
if (adsType == AdsType.Rewarded)
|
||||||
{
|
{
|
||||||
if (!_maxRewardedUnits.Contains(adUnit)) return false;
|
if (!_maxRewardedUnits.Contains(adUnit)) return false;
|
||||||
|
|
Loading…
Reference in New Issue