using System.Collections; using System.Collections.Generic; using UnityEngine; [System.Serializable] public class Save { // 记录当前场景号 public int curSceneNumber; // 记录当前地图中棋子的信息 public List characterId = new List(); public List characterGroupNumber = new List(); public List characterHealth = new List(); public List characterMana = new List(); public List characterMovement = new List(); public List characterLevel = new List(); public List characterPoint = new List(); public List characterMoney = new List(); public List characterExp = new List(); public List characterStr = new List(); public List characterDex = new List(); public List characterSan = new List(); public List characterInte = new List(); public List characterDef = new List(); public List characterVig = new List(); // 记录棋子所拥有的武器信息 public List weaponMax = new List(); public List weaponType = new List(); public List weaponLevel = new List(); // 记录棋子的位置 public List positionsX = new List(); public List positionsY = new List(); // 记录item的类型 public List itemType = new List(); // 记录是否需要结算 public bool settlement; }