底图修改提交
parent
a4281ed031
commit
36cb3db3af
|
|
@ -1971,7 +1971,7 @@ GameObject:
|
|||
- component: {fileID: 2322427136860863973}
|
||||
- component: {fileID: 5415884420512440747}
|
||||
m_Layer: 5
|
||||
m_Name: pos
|
||||
m_Name: posBg
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
|
|
|
|||
|
|
@ -21,9 +21,10 @@ function RewardItemSingleShowPopup:InitComponent()
|
|||
|
||||
this.itemPos = Util.GetGameObject(self.transform, "bgPanel/armor/itemPos")
|
||||
this.itemView = SubUIManager.Open(SubUIConfig.ItemView,this.itemPos.transform)
|
||||
this.pos = Util.GetGameObject(self.transform, "bgPanel/armor/pos"):GetComponent("Image")
|
||||
this.posIcon = Util.GetGameObject(this.pos.transform, "PosImage"):GetComponent("Image")
|
||||
this.posText = Util.GetGameObject(this.pos.transform, "PosText"):GetComponent("Text")
|
||||
this.pos = Util.GetGameObject(self.transform, "bgPanel/armor/pos")
|
||||
this.posBgImage = Util.GetGameObject(this.pos, "posBg"):GetComponent("Image")
|
||||
this.posIcon = Util.GetGameObject(this.pos, "PosImage"):GetComponent("Image")
|
||||
this.posText = Util.GetGameObject(this.pos, "PosText"):GetComponent("Text")
|
||||
this.armorType = Util.GetGameObject(self.transform, "bgPanel/armor/info/armorType"):GetComponent("Text")
|
||||
this.armorLanTuNum = Util.GetGameObject(self.transform, "armor/info/armorLanTuNum"):GetComponent("Text")
|
||||
|
||||
|
|
@ -311,7 +312,7 @@ function RewardItemSingleShowPopup:OnShow()
|
|||
this.btnSure:SetActive(false)
|
||||
this.equipQuaText.gameObject:SetActive(false)
|
||||
this.pos.gameObject:SetActive(true)
|
||||
this.pos.sprite = this.spLoader:LoadSprite(GetHeroPosBgStr(heroConfig.Profession))
|
||||
this.posBgImage.sprite = this.spLoader:LoadSprite(GetHeroPosBgStr(heroConfig.Profession))
|
||||
this.armorInfo.gameObject:SetActive(false)
|
||||
this.armorTitle.gameObject:SetActive(true)
|
||||
this.armorDesc.gameObject:SetActive(true)
|
||||
|
|
|
|||
Loading…
Reference in New Issue