using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Date:Singleton { public List ItemDate = new List(); public List UpDate = new List(); } public enum ItemClass { User, Up, } [Serializable] public class CharInfo { public string DatePath; public string playerName; public int Level; public int exp; public float maxHp; public float attack; //局内属性 public int currentMap; public float currentHp; public float testAttack; //背包数据 public Dictionary BagInfo;//背包字典 public List BagKey; public List BagValue; //升级数据 public Dictionary UpInfo;//升级字典 public List UpKey; public List UpValue; }