五星成长礼提交

dev_chengFeng
jiaoyangna 2020-08-19 22:11:48 +08:00
parent fa1f5a7c35
commit 785590bd4f
2 changed files with 4 additions and 3 deletions

View File

@ -9868,7 +9868,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &2034880781698674022
RectTransform:
m_ObjectHideFlags: 0

View File

@ -24,7 +24,8 @@ function this:InitComponent()
this.btnBuy = Util.GetGameObject(self.gameObject,"show/Button")
this.grid = Util.GetGameObject(self.gameObject,"show/rewards/Grid")
this.endTime = Util.GetGameObject(self.gameObject,"show/endTime"):GetComponent("Text")
this.price = Util.GetGameObject(self.gameObject,"show/price/Text1"):GetComponent("Text")
this.price = Util.GetGameObject(self.gameObject,"show/Button/Text"):GetComponent("Text")
this.oriPrice = Util.GetGameObject(self.gameObject,"show/price/Text1"):GetComponent("Text")
this.arrowsLeft = Util.GetGameObject(self.gameObject,"show/arrows/left")
this.arrowsRight = Util.GetGameObject(self.gameObject,"show/arrows/right")
this.UI_effect_DailyRechargePanel_particle = Util.GetGameObject(self.gameObject, "bg1/UI_effect_DailyRechargePanel_particle")
@ -195,8 +196,8 @@ function this:SetGfitShow(rechargeData)
_ItemViewList[i].gameObject:SetActive(true)
end
this.times.text = Language[10535]..rechargeData.dynamicBuyTimes..Language[10054]
this.price.gameObject:SetActive(activityType[curType].price)
this.price.text = RechargeConfig[curGiftId].Price..Language[10538]
this.oriPrice.gameObject:SetActive(activityType[curType].price)
end
--设置剩余时间,取剩余时间最短的礼包