mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
[+] UniTask External YooAsset、Dotween、TextMeshPro
[+] UniTask External YooAsset、Dotween、TextMeshPro
This commit is contained in:
@@ -383,7 +383,11 @@ namespace TEngine
|
||||
|
||||
Reference(handle);
|
||||
|
||||
bool cancelOrFailed = await handle.ToUniTask().SuppressCancellationThrow();
|
||||
UniTask uniTask = handle.ToUniTask();
|
||||
|
||||
uniTask.AttachExternalCancellation(cancellationToken);
|
||||
|
||||
bool cancelOrFailed = await uniTask.SuppressCancellationThrow();
|
||||
|
||||
if (cancelOrFailed)
|
||||
{
|
||||
|
@@ -300,7 +300,11 @@ namespace TEngine
|
||||
|
||||
Reference(handle);
|
||||
|
||||
bool cancelOrFailed = await handle.ToUniTask().SuppressCancellationThrow();
|
||||
UniTask uniTask = handle.ToUniTask();
|
||||
|
||||
uniTask.AttachExternalCancellation(cancellationToken);
|
||||
|
||||
bool cancelOrFailed = await uniTask.SuppressCancellationThrow();
|
||||
|
||||
if (cancelOrFailed)
|
||||
{
|
||||
|
Reference in New Issue
Block a user