抽卡界面

onepiece_demo_arena
xiejun 2023-12-30 19:14:01 +08:00
parent bbe7df63c0
commit 5316c03eee
1 changed files with 2 additions and 2 deletions

View File

@ -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)