using System.Collections; using System.Collections.Generic; using UnityEngine; using static XPlugin.Data.JsonLiteDB.JsonLiteDB; public class ShopData { public int Id; public string Name; public int Count; public float Time; public int Coin; public ShopData(TableReader table) { Id = table["ID"].OptInt(); Name = table["Name"].OptString(); Count = table["Count"].OptInt(); Time = table["Time"].OptFloat(); Coin = table["Coin"].OptInt(); } }