心愿抽卡单抽动画修改
parent
622ea5c6a2
commit
08588974a9
|
@ -59,10 +59,9 @@ function QianKunBoxBuyOnePanel:BindEvent()
|
|||
end)
|
||||
Util.AddClick(this.openOneAgainButton, function ()
|
||||
if isLimitUpHero then
|
||||
if this.func then
|
||||
self.bg.gameObject:SetActive(false)
|
||||
self.bg.gameObject:SetActive(true)
|
||||
if this.func then
|
||||
this.func()
|
||||
|
||||
end
|
||||
return
|
||||
end
|
||||
|
@ -115,6 +114,8 @@ end
|
|||
|
||||
--界面打开时调用(用于子类重写)
|
||||
function QianKunBoxBuyOnePanel:OnOpen(...)
|
||||
self.bg.gameObject:SetActive(false)
|
||||
self.bg.gameObject:SetActive(true)
|
||||
SoundManager.PlaySound(SoundConfig.UI_Siyuanzhen)
|
||||
local args = { ... }
|
||||
this.drop=args[1]
|
||||
|
|
Loading…
Reference in New Issue