From 0afe5ada2cc03041093d0e93a48e77ed7a37dc88 Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 18 Oct 2022 15:22:55 +0800 Subject: [PATCH] Update CHANGELOG.md --- Assets/YooAsset/CHANGELOG.md | 85 ++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/Assets/YooAsset/CHANGELOG.md b/Assets/YooAsset/CHANGELOG.md index 3c05092..9f79387 100644 --- a/Assets/YooAsset/CHANGELOG.md +++ b/Assets/YooAsset/CHANGELOG.md @@ -2,6 +2,91 @@ All notable changes to this package will be documented in this file. +## [1.3.1] - 2022-10-18 + +### Fixed + +- 修复了原生文件每次获取都重复拷贝的问题。 +- 修复了断点续传下载字节数统计不准确的问题。 + +### Added + +- 所有下载相关方法增加超时判断参数。 + +- 新增首包资源文件拷贝选项。 + + ```c# + public class BuildParameters + { + /// + /// 拷贝内置资源选项 + /// + public ECopyBuildinFileOption CopyBuildinFileOption = ECopyBuildinFileOption.None; + + /// + /// 拷贝内置资源的标签 + /// + public string CopyBuildinFileTags = string.Empty; + } + ``` + +- 新增资源包初始化查询字段。 + + ```c# + public class AssetsPackage + { + /// + /// 初始化状态 + /// + public EOperationStatus InitializeStatus + } + ``` + +- 增加获取人类可读的版本信息。 + + ````c# + public class AssetsPackage + { + /// + /// 获取人类可读的版本信息 + /// + public string GetHumanReadableVersion() + } + ```` + +- 新增资源缓存清理方法。 + + ```c# + public static class YooAssets + { + /// + /// 清理未使用的缓存文件 + /// + public static ClearUnusedCacheFilesOperation ClearUnusedCacheFiles() + } + ``` + +- 异步操作类新增繁忙查询方法。 + + ````c# + public abstract class GameAsyncOperation + { + /// + /// 异步操作系统是否繁忙 + /// + protected bool IsBusy() + } + ```` + +### Removed + +- 移除了AssetsPackage.IsInitialized()方法。 +- 移除了YooAssets.ClearAllCacheFiles()方法。 + +### Changed + +- YooAssetsPackage类重名为AssetsPackage + ## [1.3.0-preview] - 2022-10-08 该预览版本提供了分布式构建的功能,用于解决分工程或分内容构建的问题。