【自选宝箱】文字提示

dev_chengFeng
ZhangBiao 2021-04-08 14:53:36 +08:00
parent 68539ff1ff
commit cb5c940e25
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ function RewardBoxPanel:InitComponent()
this.scroll = Util.GetGameObject(this.gameObject,"bg/scroll") this.scroll = Util.GetGameObject(this.gameObject,"bg/scroll")
this.itemPre = Util.GetGameObject(this.gameObject,"bg/scroll/itemPre2") this.itemPre = Util.GetGameObject(this.gameObject,"bg/scroll/itemPre2")
this.name = Util.GetGameObject(this.gameObject,"bg/bg/name"):GetComponent("Text") 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.selectBar = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar")
this.selectBtn = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di/selectBtn") this.selectBtn = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di/selectBtn")
this.di = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di") this.di = Util.GetGameObject(this.gameObject,"bg/topBar/selectBar/di")
@ -130,7 +130,7 @@ end
function RewardBoxPanel:RefreshData() function RewardBoxPanel:RefreshData()
this.selectBar:SetActive(#this.rewardGroup ~= 1)--设置顶部属性条 this.selectBar:SetActive(#this.rewardGroup ~= 1)--设置顶部属性条
this.tip:SetActive(BagManager.isBagPanel) this.tip.text = BagManager.isBagPanel and "请在以下道具中选择一种" or "以下道具中可选择一种"
RewardBoxPanel:SetGiftData() RewardBoxPanel:SetGiftData()
RewardBoxPanel:SetBottom() RewardBoxPanel:SetBottom()
end end