This commit is contained in:
CortexCore
2024-06-14 14:11:28 +08:00
parent 4a2ab82e20
commit 349877fe7a
10 changed files with 28 additions and 12 deletions

View File

@@ -52,8 +52,7 @@ namespace BITKit.Tween
t = math.clamp(t + delta*BITApp.Time.DeltaTime, 0, 1);
var next = math.lerp(from, to, t);
//BIT4Log.Log<TweenSequence>($"当前进度:[{t}]next:[{next}]");
#if UNITY_64
#if UNITY_5_3_OR_NEWER
await UniTask.NextFrame(cancellationToken);
await UniTask.SwitchToMainThread(cancellationToken);
#else