DoTween效果速查
DoTween的缓动动画曲线与效果
DoTween缓动动画速查表
unity+tolua下用lua调用DG.Tweening.DOTween的示例
local sequence = DG.Tweening.DOTween.Sequence()
local tween =
DG.Tweening.DOTween.To(
DG.Tweening.Core.DOSetter_float(
function(value)
self:_onTweenScrollPos(value)
end
),
pos.y,
targetY,
RandomPveEnterView.kScrollDuration
)
sequence:Append(tween)
sequence:AppendCallback(
DG.Tweening.TweenCallback(
function()
self:_onTweenEnd()
end
)
)
sequence:SetEase(DG.Tweening.Ease.InOutQuint)