mirror of https://github.com/tuyoogame/YooAsset
parent
6e6f425bdd
commit
d8a8afba5e
|
@ -2,75 +2,59 @@
|
||||||
|
|
||||||
All notable changes to this package will be documented in this file.
|
All notable changes to this package will be documented in this file.
|
||||||
|
|
||||||
## [2.0.3-preview] - 2023-10-27
|
## [2.1.0] - 2023-12-27
|
||||||
|
|
||||||
|
升级了 Scriptable build pipeline (SBP) 的版本,来解决图集引用的精灵图片冗余问题。
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- (#180) Fixed an issue with invalid encryption task in the build pipeline.
|
- (#195) 修复了在EditorPlayMode模式下,AssetHandle.GetDownloadStatus()发生异常的问题。
|
||||||
- (#185) Fixed subscene unload error when the scene is not loaded.
|
- (#201) 修复了断点续传失效的问题。
|
||||||
- (#190) Fixed webgl platform compile error.
|
- (#202) 修复了打包参数FileNameStyle设置为BundleName后,IQueryServices会一直返回true的问题。
|
||||||
|
- (#205) 修复了HybridCLR插件里创建资源下载器触发的异常。
|
||||||
|
- (#210) 修复了DownloaderOperation在未开始下载前,内部的PackageName为空的问题。
|
||||||
|
- (#220) 修复了资源收集界面关闭后,撤回操作还会生效的问题。
|
||||||
|
- 修复了下载器合并后重新计算下载字节数不正确的问题。
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
|
|
||||||
- The asset load method add the priority parameter.
|
- (#198) 资源收集界面禁用的分组不再检测合法性。
|
||||||
- The async operation class add the priority field.
|
- (#203) 资源构建类容许自定义打包的输出目录。
|
||||||
|
- 资源构建报告增加未依赖的资源信息列表。
|
||||||
|
|
||||||
### Added
|
### Changed
|
||||||
|
|
||||||
- The InitializeParameters calss add new parameter : AutoDestroyAssetProvider
|
- IBuildinQueryServices和IDeliveryQueryServices查询方法变更。
|
||||||
|
|
||||||
```c#
|
```c#
|
||||||
|
public interface IBuildinQueryServices
|
||||||
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 自动销毁不再使用的资源提供者
|
/// 查询是否为应用程序内置的资源文件
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool AutoDestroyAssetProvider = false;
|
/// <param name="packageName">包裹名称</param>
|
||||||
|
/// <param name="fileName">文件名称(包含文件的后缀格式)</param>
|
||||||
|
/// <param name="fileCRC">文件哈希值</param>
|
||||||
|
/// <returns>返回查询结果</returns>
|
||||||
|
bool Query(string packageName, string fileName, string fileCRC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public interface IDeliveryQueryServices
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 查询是否为开发者分发的资源文件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="packageName">包裹名称</param>
|
||||||
|
/// <param name="fileName">文件名称(包含文件的后缀格式)</param>
|
||||||
|
/// <param name="fileCRC">文件哈希值</param>
|
||||||
|
/// <returns>返回查询结果</returns>
|
||||||
|
bool Query(string packageName, string fileName, string fileCRC);
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- Resource package add TryUnloadUnusedAsset function.
|
|
||||||
|
|
||||||
```c#
|
|
||||||
/// <summary>
|
|
||||||
/// 尝试卸载指定资源的资源包(包括依赖资源)
|
|
||||||
/// </summary>
|
|
||||||
public void TryUnloadUnusedAsset(AssetInfo assetInfo)
|
|
||||||
```
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
||||||
- The InitializeParameters calss remove the parameter : LoadingMaxTimeSlice
|
- (#212) 移除了构建报告里的资源冗余信息列表。
|
||||||
|
|
||||||
## [2.0.2-preview] - 2023-10-17
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- Fixed the mistaken code in the build window.
|
|
||||||
- Fixed an issue where auto collect shaders was not effective for dependent resources.
|
|
||||||
|
|
||||||
### Improvements
|
|
||||||
|
|
||||||
- Add error code for exception output during package building.
|
|
||||||
|
|
||||||
## [2.0.1-preview] - 2023-10-11
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- (#175) Fixed a bug where the url path of mac platform contains spaces, which would cause the request error.
|
|
||||||
- (#177) Fixed the inability to load main asset object after loading the sub asset.
|
|
||||||
- (#178) Fixed the error when initializing resource package that prompted not initialized.
|
|
||||||
- (#179) Fixed issue with SBP build pipeline packaging reporting errors.
|
|
||||||
|
|
||||||
### Added
|
|
||||||
|
|
||||||
- Resource downloader add combine function.
|
|
||||||
|
|
||||||
```c#
|
|
||||||
/// <summary>
|
|
||||||
/// 合并其它下载器
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="downloader">合并的下载器</param>
|
|
||||||
public void Combine(DownloaderOperation downloader);
|
|
||||||
```
|
|
||||||
|
|
||||||
## [2.0.0-preview] - 2023-10-07
|
|
||||||
|
|
||||||
This is the preview version.
|
|
||||||
|
|
Loading…
Reference in New Issue