【自选宝箱】文字提示
parent
68539ff1ff
commit
cb5c940e25
|
@ -27,7 +27,7 @@ function RewardBoxPanel:InitComponent()
|
|||
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.tip = Util.GetGameObject(this.gameObject,"bg/topBar/tip"):GetComponent("Text")
|
||||
this.selectBar = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar")
|
||||
this.selectBtn = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di/selectBtn")
|
||||
this.di = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di")
|
||||
|
@ -130,7 +130,7 @@ end
|
|||
|
||||
function RewardBoxPanel:RefreshData()
|
||||
this.selectBar:SetActive(#this.rewardGroup ~= 1)--设置顶部属性条
|
||||
this.tip:SetActive(BagManager.isBagPanel)
|
||||
this.tip.text = BagManager.isBagPanel and "请在以下道具中选择一种" or "以下道具中可选择一种"
|
||||
RewardBoxPanel:SetGiftData()
|
||||
RewardBoxPanel:SetBottom()
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue