feat(DownloadSystem):支持自定义下载请求
This commit is contained in:
@@ -32,6 +32,15 @@ namespace YooAsset
|
||||
/// </summary>
|
||||
public static List<long> ClearFileResponseCodes { set; get; }
|
||||
|
||||
/// <summary>
|
||||
/// 自定义下载请求
|
||||
/// </summary>
|
||||
/// <param name="requestDelegate"></param>
|
||||
public static void SetRequestDelegate(DownloadRequestDelegate requestDelegate)
|
||||
{
|
||||
DownloadRequestUtil.SetRequestDelegate(requestDelegate);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 更新所有下载器
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user