TEngine 6

This commit is contained in:
Alex-Rachel
2025-03-07 23:09:46 +08:00
parent aad8ff3ee5
commit 551727687f
1988 changed files with 46223 additions and 94880 deletions

View File

@@ -205,6 +205,10 @@ namespace Cysharp.Threading.Tasks
{
TryReturn();
}
else
{
TaskTracker.RemoveTracking(this);
}
}
}
@@ -243,7 +247,7 @@ namespace Cysharp.Threading.Tasks
if (progress != null && handle.IsValid())
{
progress.Report(handle.PercentComplete);
progress.Report(handle.GetDownloadStatus().Percent);
}
return true;
@@ -404,7 +408,13 @@ namespace Cysharp.Threading.Tasks
finally
{
if (!(cancelImmediately && cancellationToken.IsCancellationRequested))
{
TryReturn();
}
else
{
TaskTracker.RemoveTracking(this);
}
}
}
@@ -448,7 +458,7 @@ namespace Cysharp.Threading.Tasks
if (progress != null && handle.IsValid())
{
progress.Report(handle.PercentComplete);
progress.Report(handle.GetDownloadStatus().Percent);
}
return true;

View File

@@ -16,7 +16,12 @@
"name": "com.unity.textmeshpro",
"expression": "",
"define": "UNITASK_TEXTMESHPRO_SUPPORT"
},
{
"name": "com.unity.ugui",
"expression": "2.0.0",
"define": "UNITASK_TEXTMESHPRO_SUPPORT"
}
],
"noEngineReferences": false
}
}