void LoadBanner() { #if UNITY_ANDROID string slotId = "57342e0d7174ea39844cac13"; #elif UNITY_IOS || UNITY_IPHONE string slotId = "57342fdd7174ea39844cac15"; #else return; #endif if (adView != null) { adView.Destroy(); adView = null; } adView = new AdView(slotId, AdView.POSITION_TOP); adView.OnAdLoaded += AdView_OnAdLoaded; adView.OnAdFailedToLoad += AdView_OnAdFailedToLoad; adView.OnAdClicked += AdView_OnAdClicked; adView.Load(); }