【限时召唤】修复奖励界面报错
parent
071e7db748
commit
abe720d43d
|
@ -93,12 +93,12 @@ function GeneralBigPopup:OnOpen(popupKey,...)
|
|||
this.Mask:SetActive(popupKey ~= GENERAL_POPUP_TYPE.Onhook)
|
||||
this.BG:SetActive(popupKey ~= GENERAL_POPUP_TYPE.Onhook)
|
||||
this.popupKey = popupKey
|
||||
this.args = ...
|
||||
this.args = {...}
|
||||
end
|
||||
|
||||
function GeneralBigPopup:OnShow()
|
||||
contentPrefabs[this.popupKey].gameObject:SetActive(true)
|
||||
contentScripts[this.popupKey].view:OnShow(this,this.args)--1、传入自己 2、传入不定参
|
||||
contentScripts[this.popupKey].view:OnShow(this, unpack(this.args))--1、传入自己 2、传入不定参
|
||||
end
|
||||
|
||||
function GeneralBigPopup:OnClose()
|
||||
|
|
Loading…
Reference in New Issue