2022-05-23 13:39:59 +00:00
|
|
|
|
#if USE_IAP
|
|
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
using UnityEngine.Purchasing;
|
|
|
|
|
|
|
|
|
|
|
|
public static class IAPProducts//商品ID统一小写
|
|
|
|
|
|
{
|
2022-09-13 05:12:46 +00:00
|
|
|
|
public const string NoAds = "mergemilitary_removeads";//去广告商品ID
|
2022-05-23 13:39:59 +00:00
|
|
|
|
|
|
|
|
|
|
public static readonly Dictionary<string, ProductType> ProductDic = new Dictionary<string, ProductType>()
|
|
|
|
|
|
{
|
2022-09-13 05:12:46 +00:00
|
|
|
|
{ NoAds, ProductType.NonConsumable}
|
2022-05-23 13:39:59 +00:00
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
#endif
|