删除下落动画

This commit is contained in:
xiekaidong 2023-04-25 14:40:13 +08:00
parent 216363c45c
commit 2a047cd6a2

View File

@ -914,7 +914,6 @@ function BattleUI:fallGrid(listInfo, callback)
local count = #info local count = #info
cell.fallSeq:Append(baseObject:getTransform():DOLocalPath(info, GConst.BattleConst.ONE_STEP_TIME * count)) cell.fallSeq:Append(baseObject:getTransform():DOLocalPath(info, GConst.BattleConst.ONE_STEP_TIME * count))
cell.fallSeq:AppendCallback(function() cell.fallSeq:AppendCallback(function()
cell:showAni()
self.fallAniCount = self.fallAniCount - 1 self.fallAniCount = self.fallAniCount - 1
if self.fallAniCount == 0 then if self.fallAniCount == 0 then
if callback then if callback then