mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-07-02 20:03:42 +00:00
Update runtime code
AssetsPackage.WeaklyUpdateManifestAsync(string packageVersion)移除了packageVersion参数。 优化了HostPlayMode的初始化逻辑,优先读取沙盒内的清单,如果不存在则读取内置清单。
This commit is contained in:
@@ -40,6 +40,14 @@ namespace YooAsset
|
||||
return $"{YooAssetSettings.ReportFileName}_{packageName}_{packageVersion}.json";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取补丁清单文件不带版本号的名称
|
||||
/// </summary>
|
||||
public static string GetPatchManifestFileNameWithoutVersion(string packageName)
|
||||
{
|
||||
return $"{Setting.PatchManifestFileName}_{packageName}.bytes";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取补丁清单文件完整名称
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user