抽卡显示修改

wangzhenxing 2024-02-22 19:08:36 +08:00
parent 0fffeaacd5
commit c445f05d46
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ function this:PageOnChange(isShow)
for i = 1,#this.itemList do
if this.itemList[i].pageIndex == self.curPage then
this.select.transform:SetParent(this.itemList[i].go.transform)
this.select.transform:GetComponent("RectTransform").anchoredPosition = Vector3.zero
this.select.transform:GetComponent("RectTransform").anchoredPosition = Vector3.New(-15,0,0)
this.select.gameObject:SetActive(true)
this.selectIma.sprite = this.spLoader:LoadSprite(self.dicData[self.curPage].Icon[2])
this.itemList[i].tipObj.transform:SetAsLastSibling()