Demigiant / dotween

A Unity C# animation engine. HOTween v2
http://dotween.demigiant.com
Other
2.33k stars 348 forks source link

RotateMode. FastBeyond360 not work in uitoolkits #582

Open jobn123 opened 2 years ago

jobn123 commented 2 years ago
TweenerCore<Quaternion, Vector3, QuaternionOptions> t = DOTween.To(() => target.rotation, x => target.rotation = x, new Vector3(0, 0, 360), 5.0f);
t.plugOptions.rotateMode = RotateMode. FastBeyond360;
.SetLoops(-1);
t.SetEase(Ease.Linear);

i use RotateMode.FastBeyond360 in uitoolkit it's not work, when rotate over 360deg, then it roll back;