/// <summary> /// Set non-transparent background color for banners to be fully functional. /// </summary> /// <param name="adUnitIdentifier">Ad unit identifier of the banner to set background color for</param> /// <param name="color">A background color to set for the ad</param> public static void SetBannerBackgroundColor(string adUnitIdentifier, Color color) { ValidateAdUnitIdentifier(adUnitIdentifier, "set background color"); _MaxSetBannerBackgroundColor(adUnitIdentifier, MaxSdkUtils.ParseColor(color)); }
/// <summary> /// Set non-transparent background color for banners to be fully functional. /// </summary> /// <param name="adUnitIdentifier">Ad unit identifier of the banner to set background color for</param> /// <param name="color">A background color to set for the ad</param> /// <returns></returns> public static void SetBannerBackgroundColor(string adUnitIdentifier, Color color) { ValidateAdUnitIdentifier(adUnitIdentifier, "set background color"); MaxUnityPluginClass.CallStatic("setBannerBackgroundColor", adUnitIdentifier, MaxSdkUtils.ParseColor(color)); }