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)
关于C#委托及Tolua下C#委托导出到lua
来源:CSDN
作者:winzjqwin
链接:https://blog.csdn.net/winzjqwin/article/details/103998538