Files
back_cantanBuilding/Assets/Scripts/Services/DevAdsService.cs
2026-05-26 16:15:54 +08:00

24 lines
456 B
C#

using asap.core;
namespace game
{
public class DevAdsService : IAdsService
{
public void Init()
{
}
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
}
}
}