diff --git a/Assets/YooAsset/Runtime/AssetSystem/Operations/InstantiateOperation.cs b/Assets/YooAsset/Runtime/AssetSystem/Operations/InstantiateOperation.cs
index 9265be6..7ce6d6f 100644
--- a/Assets/YooAsset/Runtime/AssetSystem/Operations/InstantiateOperation.cs
+++ b/Assets/YooAsset/Runtime/AssetSystem/Operations/InstantiateOperation.cs
@@ -2,7 +2,7 @@
namespace YooAsset
{
- public class InstantiateOperation : AsyncOperationBase
+ public sealed class InstantiateOperation : AsyncOperationBase
{
private enum ESteps
{
diff --git a/Assets/YooAsset/Runtime/AssetSystem/Operations/UnloadSceneOperation.cs b/Assets/YooAsset/Runtime/AssetSystem/Operations/UnloadSceneOperation.cs
index a1e453d..12ba3d3 100644
--- a/Assets/YooAsset/Runtime/AssetSystem/Operations/UnloadSceneOperation.cs
+++ b/Assets/YooAsset/Runtime/AssetSystem/Operations/UnloadSceneOperation.cs
@@ -6,7 +6,7 @@ namespace YooAsset
///
/// 场景卸载异步操作类
///
- public class UnloadSceneOperation : AsyncOperationBase
+ public sealed class UnloadSceneOperation : AsyncOperationBase
{
private enum EFlag
{
diff --git a/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs b/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs
index a342fa3..9af6f04 100644
--- a/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs
+++ b/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs
@@ -77,14 +77,14 @@ namespace YooAsset
}
#region 异步编程相关
- public bool MoveNext()
+ bool IEnumerator.MoveNext()
{
return !IsDone;
}
- public void Reset()
+ void IEnumerator.Reset()
{
}
- public object Current => null;
+ object IEnumerator.Current => null;
private TaskCompletionSource