仙晶礼包修改

dev_chengFeng
wangzhenxing 2023-02-11 13:42:23 +08:00
parent 6a44a24e2b
commit 76c744eba3
1 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,8 @@ end
function GiftPre:SetType2() function GiftPre:SetType2()
self.type2.gameObject:SetActive(true) self.type2.gameObject:SetActive(true)
--self.type2Text1.text = self.data.data.shows[1][2]/1000 --self.type2Text1.text = self.data.data.shows[1][2]/1000
if self.data.data.shopItemData and self.data.data.shopItemData.GainCrystals then --self.type2Text1.text=self.data.data.shopItemData.GainCrystal[1][2]
if self.data.data.shopItemData and self.data.data.shopItemData.GainCrystal then
self.type2Text1.text=self.data.data.shopItemData.GainCrystal[1][2] self.type2Text1.text=self.data.data.shopItemData.GainCrystal[1][2]
else else
self.type2Text1.text = self.data.data.shows[1][2] self.type2Text1.text = self.data.data.shows[1][2]