2026-04-22 09:52:55 +08:00
|
|
|
using DG.Tweening;
|
|
|
|
|
|
2026-04-22 11:13:16 +08:00
|
|
|
namespace LoveLegend
|
2026-04-22 09:52:55 +08:00
|
|
|
{
|
|
|
|
|
public static class DOTweenHelper
|
|
|
|
|
{
|
|
|
|
|
public static void Init()
|
|
|
|
|
{
|
|
|
|
|
var doTweenInit = DOTween.Init();
|
|
|
|
|
doTweenInit?.SetCapacity(1024, 1024);
|
|
|
|
|
|
|
|
|
|
DOTween.SetTweensCapacity(1024, 1024);
|
|
|
|
|
|
|
|
|
|
DOTween.defaultEaseType = Ease.Linear;
|
|
|
|
|
|
|
|
|
|
DOTween.defaultEaseOvershootOrAmplitude = 1.70158f;
|
|
|
|
|
|
|
|
|
|
DOTween.defaultEasePeriod = 0f;
|
|
|
|
|
|
|
|
|
|
DOTween.logBehaviour = LogBehaviour.Verbose;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|