using System.Collections; using UnityEngine; using TMPro; using System; using UnityEngine.Purchasing; using System.Collections.Generic; using static UnityEngine.Networking.UnityWebRequest; using UnityEngine.Purchasing.Extension; using UnityEngine.UI; //using UnityEngine.WSA; using DG.Tweening; [Serializable] public class ConsumableItem { public string Name; public string Id; public string desc; public float price; } [Serializable] public class NonConsumableItem { public string Name; public string Id; public string desc; public float price; } [Serializable] public class SubscriptionItem { public string Name; public string Id; public string desc; public float price; public int timeDuration;// in Days } public class ShopManager : MonoBehaviour, IDetailedStoreListener { IStoreController m_StoreContoller; public List cItem; public List pItem; public List coinsRewards; //public NonConsumableItem ncItem; //public SubscriptionItem sItem; public TMP_InputField inp; public Data data; public Payload payload; public PayloadData payloadData; public List PipeButtons; //public List