diff --git a/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs b/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs index 813a4d6..e236e99 100644 --- a/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs +++ b/Assets/YooAsset/Runtime/OperationSystem/GameAsyncOperation.cs @@ -12,7 +12,22 @@ namespace YooAsset OnUpdate(); } + /// + /// 异步操作开始 + /// protected abstract void OnStart(); + + /// + /// 异步操作更新 + /// protected abstract void OnUpdate(); + + /// + /// 异步操作系统是否繁忙 + /// + protected bool IsBusy() + { + return OperationSystem.IsBusy; + } } } \ No newline at end of file