【牛转钱坤】抽奖时可以点击返回修改
parent
15fd0a36cd
commit
54e4b78be8
|
|
@ -56,6 +56,7 @@ function NiuZhuanQianKun:BindEvent()
|
|||
local thread=coroutine.start(function()
|
||||
NiuZhuanQianKun:SetLight()
|
||||
this.rollBtn:GetComponent("Button").interactable = false
|
||||
this.backBtn:GetComponent("Button").interactable = false
|
||||
this.center.transform:DORotate(Vector3.New(0,0,-3600 + (msg.index-1)*45),3)
|
||||
NiuZhuanQianKun:SetBottom()
|
||||
coroutine.wait(3)
|
||||
|
|
@ -63,6 +64,7 @@ function NiuZhuanQianKun:BindEvent()
|
|||
coroutine.wait(0.2)
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup,msg.drop,1,function ()
|
||||
this.rollBtn:GetComponent("Button").interactable = true
|
||||
this.backBtn:GetComponent("Button").interactable = true
|
||||
end)
|
||||
end)
|
||||
end)
|
||||
|
|
|
|||
Loading…
Reference in New Issue