【本地化】修复灵兽信息界面文字显示异常
parent
51bdf1055e
commit
0ff345346b
|
|
@ -41,7 +41,7 @@ function PokemonInfoPanel:InitComponent()
|
|||
|
||||
this.namne = Util.GetGameObject(self.transform, "nameInfo/nameText"):GetComponent("Text")
|
||||
this.sortText = Util.GetGameObject(self.transform, "nameInfo/sortText")
|
||||
this.upZhenImage = Util.GetGameObject(self.transform, "nameInfo/upZhenImage")
|
||||
this.upZhenImage = Util.GetGameObject(self.transform, "nameInfo/upZhenImage"):GetComponent("Image")
|
||||
|
||||
this.leftBtn = Util.GetGameObject(self.transform, "leftBtn/GameObject")
|
||||
this.rightBtn = Util.GetGameObject(self.transform, "rightBtn/GameObject")
|
||||
|
|
@ -366,7 +366,9 @@ function this.UpdateHeroInfoData()
|
|||
SetTextVerTial(this.namne,Vector3.New(98,1.64,0))
|
||||
this.sortText:SetActive(sortIndex > 0)
|
||||
this.sortText:GetComponent("Text").text = sortIndex
|
||||
this.upZhenImage:SetActive(sortIndex > 0)
|
||||
this.upZhenImage.gameObject:SetActive(sortIndex > 0)
|
||||
this.upZhenImage:SetNativeSize()
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue