抽卡动画修改提交
parent
f0337c6ce8
commit
058cd565d3
|
|
@ -360,17 +360,18 @@ function this:SetIndex()
|
|||
LOY = 2
|
||||
end
|
||||
local offSet = math.abs(this.itemList[i].index - 2)
|
||||
local isenter = true
|
||||
local localIsenter = true
|
||||
self.thread = coroutine.start(function()
|
||||
this.RemoveTrigger()
|
||||
while(offSet > 0) do
|
||||
if isenter then
|
||||
isenter = false
|
||||
if localIsenter then
|
||||
localIsenter = false
|
||||
this.MoveTo(LOY)
|
||||
coroutine.wait(0.25)
|
||||
offSet = offSet - 1
|
||||
this.SortItemList()
|
||||
isenter = true
|
||||
coroutine.wait(0.01)
|
||||
localIsenter = true
|
||||
end
|
||||
coroutine.wait(0.01)
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue