using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace ResUpdate { /// /// 资源文件 /// [Serializable] public class ResourceFiles : ScriptableObject { public List files; public string version; } /// /// 资源文件 /// [Serializable] public class ResourceFile { /// /// id /// public int id; /// /// 文件名 /// public string fileName; /// /// crc /// public string crc; /// /// 文件大小 /// public long size; public ResourceFile() { } public ResourceFile(string fileName, string crc) { this.fileName = fileName; this.crc = crc; } public override string ToString() { return string.Format("id:{0},fileName:{1},crc:{2},size:{3}",id,fileName,crc,size); } } }