Update
This commit is contained in:
ALEXTANG
2022-05-26 21:03:33 +08:00
parent a802cddeed
commit 1af89a3993
2 changed files with 125 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.Networking;
@@ -16,6 +17,7 @@ namespace TEngine
public const string BuildPath = "Build";
public const string AssetBundleBuildPath = BuildPath + "/AssetBundles";
private const string AssetBundleTargetPath = "{0}/AssetBundles";
public const string Md5CheckList = "Md5CheckList.json";
/// <summary>
/// 资源更新读取根目录
/// </summary>
@@ -195,4 +197,29 @@ namespace TEngine
return www.downloadHandler.text;
}
}
[Serializable]
public struct fileMd5
{
public string fileName;
public string md5;
public string fileSize;
}
[Serializable]
public class Serialization<T>
{
[SerializeField]
List<T> _target;
public List<T> ToList()
{
return _target;
}
public Serialization(List<T> target)
{
this._target = target;
}
}
}