From 20b0bd26aee1c176e45b24e26e76188b81f2746a Mon Sep 17 00:00:00 2001 From: hevinci Date: Sat, 22 Apr 2023 17:45:25 +0800 Subject: [PATCH] Update CHANGELOG.md --- Assets/YooAsset/CHANGELOG.md | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Assets/YooAsset/CHANGELOG.md b/Assets/YooAsset/CHANGELOG.md index 8e37c30..e289a52 100644 --- a/Assets/YooAsset/CHANGELOG.md +++ b/Assets/YooAsset/CHANGELOG.md @@ -2,6 +2,58 @@ All notable changes to this package will be documented in this file. +## [1.4.12] - 2023-04-22 + +### Changed + +- 增加了对WEBGL平台加密选项的检测。 + +- 增加了YooAsset/Home Page菜单栏。 + +- 增加了鼠标右键创建配置的菜单。 + +- 增加了YooAssets.DestroyPackage()方法。 + + ```c# + class YooAssets + { + /// + /// 销毁资源包 + /// + /// 资源包对象 + public static void DestroyPackage(string packageName); + } + ``` + +- UpdatePackageManifestAsync方法增加了新参数autoSaveVersion + + ```c# + class ResourcePackage + { + /// + /// 向网络端请求并更新清单 + /// + /// 更新的包裹版本 + /// 更新成功后自动保存版本号,作为下次初始化的版本。 + /// 超时时间(默认值:60秒) + public UpdatePackageManifestOperation UpdatePackageManifestAsync(string packageVersion, bool autoSaveVersion = true, int timeout = 60) + } + ``` + +- BuildParameters类增加了新字段。 + + 可以自定义共享资源文件的打包规则。 + + ```c# + class BuildParameters + { + /// + /// 共享资源的打包规则 + /// + public IShareAssetPackRule ShareAssetPackRule = null; + } + ``` + ## [1.4.11] - 2023-04-14 ### Fixed