yyl
2025-09-05 fe421e1b91bbb3f69e494ec58dd8092d61346f5e
Main/Component/UI/Decorate/Tweens/TweenEx.cs
@@ -99,14 +99,8 @@
            switch (wrapMode)
            {
                case WrapMode.Once:
                    if (accumulatedTime > duration)
                    {
                        OnOnceEnd();
                        doTween = false;
                    }
                    break;
                case WrapMode.PingPongOnce:
                    if (accumulatedTime > duration*2)
                    if (accumulatedTime > duration)
                    {
                        OnOnceEnd();
                        doTween = false;
@@ -173,9 +167,11 @@
                t = Mathf.Repeat((accumulatedTime / duration) * curveLength, 1);
                break;
            case WrapMode.PingPong:
            case WrapMode.PingPongOnce:
                t = Mathf.PingPong((accumulatedTime / duration) * curveLength, 1);
                break;
            case WrapMode.PingPongOnce:
                t = Mathf.PingPong((accumulatedTime / (duration/2)) * curveLength, 1);
                break;
        }
        var value = curve.Evaluate(reversal ? curveLength - t : t);