diff --git a/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs b/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs
index cd26f90..11f5cab 100644
--- a/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs
+++ b/Assets/YooAsset/Runtime/OperationSystem/AsyncOperationBase.cs
@@ -152,6 +152,14 @@ namespace YooAsset
return IsDone;
}
+ ///
+ /// 清空完成回调
+ ///
+ protected void ClearCompletedCallback()
+ {
+ _callback = null;
+ }
+
///
/// 等待异步执行完毕
///
diff --git a/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs b/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs
index 22a935f..12b6570 100644
--- a/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs
+++ b/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs
@@ -15,6 +15,10 @@ namespace YooAsset
{
OnAbort();
}
+ internal override void InternalWaitForAsyncComplete()
+ {
+ OnWaitForAsyncComplete();
+ }
///
/// 异步操作开始
@@ -31,6 +35,11 @@ namespace YooAsset
///
protected abstract void OnAbort();
+ ///
+ /// 异步等待完成
+ ///
+ protected virtual void OnWaitForAsyncComplete() { }
+
///
/// 异步操作系统是否繁忙
///