public void ShowRewardAD() { if (isShow) { return; } if (isSuccess) { isSuccess = false; } if (isFailed) { isFailed = false; } isShow = true; if (adType == AdType.Ads) { adType = AdType.Admob; adsManager.ShowAdsRewardAd(); } else if (adType == AdType.Admob) { adType = AdType.Vungle; admobManager.ShowAdmobRewardAD(); } else if (adType == AdType.Vungle) { adType = AdType.Ads; vungleManager.ShowVungleAD(); } }