16 lines
		
	
	
		
			451 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			451 B
		
	
	
	
		
			C#
		
	
	
	
| #if USE_IAP
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using UnityEngine;
 | |
| using UnityEngine.Purchasing;
 | |
| 
 | |
| public static class IAPProducts//商品ID统一小写
 | |
| {
 | |
|     public const string NoAds = "com.hotpotgames.lovepuzzle.global.noads";//去广告商品ID
 | |
| 
 | |
|     public static readonly Dictionary<string, ProductType> ProductDic = new Dictionary<string, ProductType>()
 | |
|     {
 | |
|         { NoAds, ProductType.NonConsumable}
 | |
|     };
 | |
| }
 | |
| #endif |