玩家界面修改提交
parent
42c6da7293
commit
0ec0ccc6b2
|
@ -3379,7 +3379,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &6631754305133981311
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -157,7 +157,7 @@ function PlayerInfoPopup:InitComponent()
|
|||
this.star = Util.GetGameObject(self.transform, "tipImage/panel/info/starBox/star")
|
||||
this.titlePar = Util.GetGameObject(self.transform, "tipImage/panel/info/titlePar")
|
||||
this.memPower = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/power"):GetComponent("Text")
|
||||
this.formationTip = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/tip"):GetComponent("Text")
|
||||
this.formationTip = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/Image/tip"):GetComponent("Text")
|
||||
|
||||
this.demonsHeroList=Util.GetGameObject(self.gameObject, "tipImage/panel/defendbox/demons")
|
||||
this.diffDemonsHeroList=Util.GetGameObject(self.gameObject, "tipImage/panel/defendbox/diffdemons")
|
||||
|
@ -173,7 +173,7 @@ function PlayerInfoPopup:InitComponent()
|
|||
this.Demons[i].levelText = Util.GetGameObject(this.Demons[i].hero, "lvbg/levelText"):GetComponent("Text")
|
||||
this.Demons[i].icon = Util.GetGameObject(this.Demons[i].hero, "icon"):GetComponent("Image")
|
||||
end
|
||||
Util.GetGameObject(self.transform, "tipImage/panel/pokemonInfo/tip"):GetComponent("Text").text=Language[11501]
|
||||
Util.GetGameObject(self.transform, "tipImage/panel/pokemonInfo/Image/tip"):GetComponent("Text").text=Language[11501]
|
||||
this.Pokemons = {}
|
||||
for i = 1, 6 do
|
||||
table.insert(this.Pokemons, Util.GetGameObject(self.gameObject, "tipImage/panel/pokemonInfo/Demons/heroPro (" .. i .. ")"))
|
||||
|
@ -190,7 +190,7 @@ function PlayerInfoPopup:InitComponent()
|
|||
this.weaponInfo=Util.GetGameObject(self.transform, "tipImage/panel/weaponInfo")
|
||||
this.newGemInfo=Util.GetGameObject(self.transform, "tipImage/panel/newGemInfo")
|
||||
this.newGemInfo:SetActive(false)
|
||||
this.boxLine = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/line")
|
||||
--this.boxLine = Util.GetGameObject(self.transform, "tipImage/panel/defendbox/line")
|
||||
this.btnBox = Util.GetGameObject(self.transform, "tipImage/panel/box")
|
||||
-- this.bgImg= Util.GetGameObject(self.transform, "tipImage/tipImage"):GetComponent("RectTransform")
|
||||
this.btnList = {}
|
||||
|
@ -815,13 +815,13 @@ function this.RefreshBtnShow()
|
|||
|
||||
-- 自己
|
||||
if this._PlayerId == PlayerManager.uid or curPlayerName == Language[12230] then
|
||||
this.boxLine:SetActive(false)
|
||||
--this.boxLine:SetActive(false)
|
||||
this.btnBox:SetActive(false)
|
||||
this.addFriendBtn:SetActive(false)
|
||||
end
|
||||
-- 判断该界面类型是否有按钮显示
|
||||
if not this._Config or not this._Config.btnType or isNpc then
|
||||
this.boxLine:SetActive(false)
|
||||
--this.boxLine:SetActive(false)
|
||||
this.btnBox:SetActive(false)
|
||||
this.addFriendBtn:SetActive(false)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue