Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
6cb698f147
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue