From 4eca73303bbe90451ab23591d0d929a764e9b74b Mon Sep 17 00:00:00 2001 From: hevinci Date: Sat, 8 Oct 2022 11:23:16 +0800 Subject: [PATCH] Update runtime code --- Assets/YooAsset/Runtime/InitializeParameters.cs | 1 - .../Runtime/PatchSystem/Operations/InitializationOperation.cs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/YooAsset/Runtime/InitializeParameters.cs b/Assets/YooAsset/Runtime/InitializeParameters.cs index 007e4c2..1f1872a 100644 --- a/Assets/YooAsset/Runtime/InitializeParameters.cs +++ b/Assets/YooAsset/Runtime/InitializeParameters.cs @@ -59,7 +59,6 @@ namespace YooAsset { /// /// 用于模拟运行的资源清单路径 - /// 注意:如果路径为空,会自动重新构建补丁清单。 /// public string SimulatePatchManifestPath = string.Empty; } diff --git a/Assets/YooAsset/Runtime/PatchSystem/Operations/InitializationOperation.cs b/Assets/YooAsset/Runtime/PatchSystem/Operations/InitializationOperation.cs index 2c42f3f..6644392 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/Operations/InitializationOperation.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/Operations/InitializationOperation.cs @@ -198,13 +198,13 @@ namespace YooAsset if (_steps == ESteps.LoadStaticVersion) { - YooLogger.Log($"Load application static version."); string fileName = YooAssetSettingsData.GetStaticVersionFileName(_buildinPackageName); string filePath = PathHelper.MakeStreamingLoadPath(fileName); string url = PathHelper.ConvertToWWWPath(filePath); _downloader1 = new UnityWebDataRequester(); _downloader1.SendRequest(url); _steps = ESteps.CheckStaticVersion; + YooLogger.Log($"Load static version file : {filePath}"); } if (_steps == ESteps.CheckStaticVersion) @@ -227,13 +227,13 @@ namespace YooAsset if (_steps == ESteps.LoadAppManifest) { - YooLogger.Log($"Load application patch manifest."); string fileName = YooAssetSettingsData.GetPatchManifestFileName(_buildinPackageName, BuildinPackageCRC); string filePath = PathHelper.MakeStreamingLoadPath(fileName); string url = PathHelper.ConvertToWWWPath(filePath); _downloader2 = new UnityWebDataRequester(); _downloader2.SendRequest(url); _steps = ESteps.CheckAppManifest; + YooLogger.Log($"Load patch manifest file : {filePath}"); } if (_steps == ESteps.CheckAppManifest)