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