using asap.core; namespace game { public class DevAdsService : IAdsService { public void Init() { } public void Release() { } public void ShowRewarded(AdvertPopupType advertPopupType = AdvertPopupType.Shop) { #if UNITY_EDITOR GContext.Publish(new AdsResult() { Result = 0, Type = advertPopupType }); #else GContext.Publish(new AdsResult() { Result = 1, Type = advertPopupType }); #endif } public void ShowInterstitial(AdvertPopupType advertPopupType = AdvertPopupType.Shop) { GContext.Publish(new AdsInterstitialResult() { Type = advertPopupType }); } } }