备份CatanBuilding瘦身独立工程
This commit is contained in:
23
Assets/Scripts/Services/DevAdsService.cs
Normal file
23
Assets/Scripts/Services/DevAdsService.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user