【道具自选箱】

dev_chengFeng
ZhangBiao 2021-03-18 15:15:16 +08:00
parent 487cd87339
commit e8928e062d
1 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ function RewardBoxPanel:InitComponent()
this.btnBack = Util.GetGameObject(this.gameObject,"bg/btnBack")
this.scroll = Util.GetGameObject(this.gameObject,"bg/scroll")
this.itemPre = Util.GetGameObject(this.gameObject,"bg/scroll/itemPre2")
this.name = Util.GetGameObject(this.gameObject,"bg/bg/name"):GetComponent("Text")
this.tip = Util.GetGameObject(this.gameObject,"bg/topBar/tip")
this.selectBar = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar")
this.selectBtn = Util.GetGameObject(this.gameObject,"bg/di/selectBtn")
@ -117,6 +118,7 @@ end
-- 打开,重新打开时回调
function RewardBoxPanel:OnShow()
this.name.text = itemConfig[this.itemId].Name
itemList={}
curId = nil
tagNum = 1