diff --git a/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/Operation/WXFSLoadBundleOperation.cs b/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/Operation/WXFSLoadBundleOperation.cs index 76c2bc4..0a73f99 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/Operation/WXFSLoadBundleOperation.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/Operation/WXFSLoadBundleOperation.cs @@ -60,10 +60,9 @@ internal class WXFSLoadBundleOperation : FSLoadBundleOperation } } } - - public override void WaitForAsyncComplete() + internal override void InternalWaitForAsyncComplete() { - if (IsDone == false) + if (_steps != ESteps.Done) { _steps = ESteps.Done; Status = EOperationStatus.Failed; diff --git a/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/WechatFileSystem.cs b/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/WechatFileSystem.cs index 2061323..1a2a916 100644 --- a/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/WechatFileSystem.cs +++ b/Assets/YooAsset/Samples~/Extension Sample/Runtime/WechatFileSystem/WechatFileSystem.cs @@ -30,17 +30,6 @@ internal class WechatFileSystem : IFileSystem /// public string PackageName { private set; get; } - /// - /// 文件访问权限 - /// - public EFileAccess FileSystemAccess - { - get - { - return EFileAccess.ReadWrite; - } - } - /// /// 文件根目录 ///