hch
2 天以前 a19acb609721b89419fe55785643a0d4f1959368
Main/Component/UI/Decorate/Tweens/RotationTween.cs
@@ -2,7 +2,7 @@
using System.Collections;
public class RotationTween : Tween
public class RotationTween : TweenEx
{
    public override void SetStartState()
@@ -25,8 +25,14 @@
    protected override void OnOnceEnd()
    {
        this.transform.localEulerAngles = reversal ? from : to;
        if (wrapMode == WrapMode.PingPongOnce)
        {
            SetStartState();
        }
        else
        {
            this.transform.localEulerAngles = reversal ? from : to;
        }
        base.OnOnceEnd();
    }