diff --git a/Assets/YooAsset/Runtime/PatchSystem/Download/HttpDownloader.cs b/Assets/YooAsset/Runtime/PatchSystem/Download/HttpDownloader.cs index 3252c81..532b396 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/Download/HttpDownloader.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/Download/HttpDownloader.cs @@ -63,6 +63,8 @@ namespace YooAsset internal void SendRequest(int failedTryAgain, int timeout) { + _failedTryAgain = failedTryAgain; + _timeout = timeout; } internal void Update() { diff --git a/Assets/YooAsset/Runtime/PatchSystem/PlayMode/EditorPlayModeImpl.cs b/Assets/YooAsset/Runtime/PatchSystem/PlayMode/EditorPlayModeImpl.cs index 218d528..59e663b 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/PlayMode/EditorPlayModeImpl.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/PlayMode/EditorPlayModeImpl.cs @@ -24,14 +24,6 @@ namespace YooAsset return 0; } - /// - /// 获取内置资源标记列表 - /// - public string[] GetManifestBuildinTags() - { - return new string[0]; - } - #region IBundleServices接口 AssetBundleInfo IBundleServices.GetAssetBundleInfo(string bundleName) { diff --git a/Assets/YooAsset/Runtime/PatchSystem/PlayMode/HostPlayModeImpl.cs b/Assets/YooAsset/Runtime/PatchSystem/PlayMode/HostPlayModeImpl.cs index 533b6e6..20ca85f 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/PlayMode/HostPlayModeImpl.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/PlayMode/HostPlayModeImpl.cs @@ -52,16 +52,6 @@ namespace YooAsset return LocalPatchManifest.ResourceVersion; } - /// - /// 获取内置资源标记列表 - /// - public string[] GetManifestBuildinTags() - { - if (LocalPatchManifest == null) - return new string[0]; - return LocalPatchManifest.GetBuildinTags(); - } - /// /// 创建下载器 /// diff --git a/Assets/YooAsset/Runtime/PatchSystem/PlayMode/OfflinePlayModeImpl.cs b/Assets/YooAsset/Runtime/PatchSystem/PlayMode/OfflinePlayModeImpl.cs index 66e7ba2..1aa476a 100644 --- a/Assets/YooAsset/Runtime/PatchSystem/PlayMode/OfflinePlayModeImpl.cs +++ b/Assets/YooAsset/Runtime/PatchSystem/PlayMode/OfflinePlayModeImpl.cs @@ -28,16 +28,6 @@ namespace YooAsset return AppPatchManifest.ResourceVersion; } - /// - /// 获取内置资源标记列表 - /// - public string[] GetManifestBuildinTags() - { - if (AppPatchManifest == null) - return new string[0]; - return AppPatchManifest.GetBuildinTags(); - } - #region IBundleServices接口 AssetBundleInfo IBundleServices.GetAssetBundleInfo(string bundleName) {