public static void LoadBannerPluginsForAdUnits(string[] bannerAdUnitIds) { foreach (string str in bannerAdUnitIds) { BannerPluginsDict[str] = new MoPubAndroidBanner(str); } Debug.Log(bannerAdUnitIds.Length + " banner AdUnits loaded for plugins:\n" + string.Join(", ", bannerAdUnitIds)); }
/// See MoPubUnityEditor.<see cref="MoPubUnityEditor.LoadBannerPluginsForAdUnits(string[])"/> public static void LoadBannerPluginsForAdUnits(string[] bannerAdUnitIds) { foreach (var bannerAdUnitId in bannerAdUnitIds) { BannerPluginsDict[bannerAdUnitId] = new MPBanner(bannerAdUnitId); } Debug.Log( bannerAdUnitIds.Length + " banner AdUnits loaded for plugins:\n" + string.Join(", ", bannerAdUnitIds)); }