【牛转钱坤】抽奖时可以点击返回修改

dev_chengFeng
ZhangBiao 2021-01-27 17:07:49 +08:00
parent 15fd0a36cd
commit 54e4b78be8
1 changed files with 2 additions and 0 deletions

View File

@ -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)