【限时召唤】修复奖励界面报错

dev_chengFeng
gaoxin 2021-09-17 20:04:53 +08:00
parent 071e7db748
commit abe720d43d
1 changed files with 2 additions and 2 deletions

View File

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