//--------------------------------------------------------------------------------------------------------------- public void Show(Action callbackWatched, Action callbackNotWatched, AdsType type = DefaultPlacementID) { onAdsWatchedCallback = callbackWatched; onAdsNotWatchedCallback = callbackNotWatched; if (!IsAvailable(type)) { return; } AdsDummy.Show(type.GetDesc(), new AdsDummy.ShowOptions() { resultCallback = OnAdsWatched }); }
//--------------------------------------------------------------------------------------------------------------- public bool IsAvailable(AdsType type = DefaultPlacementID) { return(AdsDummy.IsReady(type.GetDesc())); }