This commit is contained in:
CortexCore
2025-04-14 15:39:28 +08:00
parent c1273357de
commit d8b8ddb8b6
23 changed files with 447 additions and 116 deletions

View File

@@ -43,7 +43,14 @@ namespace BITKit.Tween
{
from = func(from, to, delta*BITApp.Time.DeltaTime);
#if UNITY_5_3_OR_NEWER
await UniTask.NextFrame(PlayerLoopTiming.FixedUpdate,cancellationToken);
try
{
await UniTask.NextFrame(PlayerLoopTiming.FixedUpdate, cancellationToken);
}
catch (OperationCanceledException)
{
return;
}
#else
await UniTask.Yield();