feat : Gaem async operation add Abort method.

pull/353/head
何冠峰 2024-08-22 15:18:57 +08:00
parent 94623d8dc0
commit c35e22fbd7
1 changed files with 8 additions and 0 deletions

View File

@ -47,5 +47,13 @@ namespace YooAsset
{ {
return OperationSystem.IsBusy; return OperationSystem.IsBusy;
} }
/// <summary>
/// 终止异步操作
/// </summary>
protected void Abort()
{
SetAbort();
}
} }
} }