mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-26 02:30:18 +00:00
update runtime code
1. 移除了InitializeParameters.LocationToLower参数 2. 资源收集界面增加了LocationToLower选项 3. 资源收集界面增加了IncludeAssetGUID选项 4. 资源清单版本升级了 5. 新增了ResourcePackage.GetAssetInfoByGUID()方法
This commit is contained in:
@@ -10,7 +10,6 @@ namespace YooAsset
|
||||
|
||||
// 参数相关
|
||||
private string _packageName;
|
||||
private bool _locationToLower;
|
||||
private string _defaultHostServer;
|
||||
private string _fallbackHostServer;
|
||||
private IQueryServices _queryServices;
|
||||
@@ -18,10 +17,9 @@ namespace YooAsset
|
||||
/// <summary>
|
||||
/// 异步初始化
|
||||
/// </summary>
|
||||
public InitializationOperation InitializeAsync(string packageName, bool locationToLower, string defaultHostServer, string fallbackHostServer, IQueryServices queryServices)
|
||||
public InitializationOperation InitializeAsync(string packageName, string defaultHostServer, string fallbackHostServer, IQueryServices queryServices)
|
||||
{
|
||||
_packageName = packageName;
|
||||
_locationToLower = locationToLower;
|
||||
_defaultHostServer = defaultHostServer;
|
||||
_fallbackHostServer = fallbackHostServer;
|
||||
_queryServices = queryServices;
|
||||
@@ -67,7 +65,6 @@ namespace YooAsset
|
||||
set
|
||||
{
|
||||
_activeManifest = value;
|
||||
_activeManifest.InitAssetPathMapping(_locationToLower);
|
||||
}
|
||||
get
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user