/** * Close Banner with given placementId * * placementId String */ public void CloseBanner(string placementId) { #if !UNITY_2019_1 && !UNITY_2019_2 InvokeSafelyOnUIThreadAsync(delegate { sdk.CloseBanner(placementId); }); #else VungleLog.Log(VungleLog.Level.Error, VungleLog.Context.LogEvent, "VungleWindows.CloseBanner", "2019.1 and 2019.2 crashes when instantiating a core class for banners, but it is fixed in 2019.3"); #endif }