com.alicizax.unity.animatio.../Runtime/Core/Animation/RotateBy.cs

9 lines
265 B
C#
Raw Normal View History

2025-02-07 16:05:13 +08:00
namespace AlicizaX.AnimationFlow.Runtime {
public class RotateBy : RotateTo {
public override void OnUpdate(float dt) {
target.localEulerAngles = Easing.Ease(easyType, enterValue, enterValue + to, elapsedTime / duration);
}
}
}