抽卡界面
parent
bbe7df63c0
commit
5316c03eee
|
@ -397,7 +397,7 @@ function this:RefreshTabData()
|
|||
this.itemList[i].pos = this.itemList[i].tran.anchoredPosition
|
||||
this.itemList[i].index = i
|
||||
--TODO /// 改了配置之后可以放开 2023 11、2
|
||||
--this.itemList[i].img = Util.GetGameObject(this.itemList[i].go, "img"):GetComponent("Image")
|
||||
this.itemList[i].img = Util.GetGameObject(this.itemList[i].go, "img"):GetComponent("Image")
|
||||
this.itemList[i].tipObj=Util.GetGameObject(this.itemList[i].go,"tipObj")
|
||||
this.itemList[i].tipTxt=Util.GetGameObject(this.itemList[i].go,"tipObj/Text"):GetComponent("Text")
|
||||
this.itemList[i].titleTxt=Util.GetGameObject(this.itemList[i].go,"Text"):GetComponent("Text")
|
||||
|
@ -408,7 +408,7 @@ function this:RefreshTabData()
|
|||
this.itemList[i].go.gameObject:SetActive(true)
|
||||
this.itemList[i].tipObj:SetActive(false)
|
||||
this.itemList[i].titleTxt.text=self.dicData[i].Sesc
|
||||
-- this.itemList[i].img.sprite = this.spLoader:LoadSprite(self.dicData[i].Icon[1])
|
||||
this.itemList[i].img.sprite = this.spLoader:LoadSprite(self.dicData[i].Icon[1])
|
||||
if self.dicData[i].ActId==2 then
|
||||
local isOpen =CheckFunctionOpen(FUNCTION_OPEN_TYPE.EquipWish)
|
||||
local tip=GetFunctionOpenTip(FUNCTION_OPEN_TYPE.EquipWish)
|
||||
|
|
Loading…
Reference in New Issue