【装备对比】装备穿戴界面显示修改
parent
b978377005
commit
e56affc4b4
File diff suppressed because it is too large
Load Diff
|
@ -181,14 +181,14 @@ function RoleEquipChangePopup:OnShow()
|
|||
this.ShowCurEquipData(1)
|
||||
elseif type==3 then
|
||||
this.equipPanel[2].bg:SetActive(true)
|
||||
this.equipPanel[1].bg:SetActive(true)
|
||||
this.equipPanel[1].bg:SetActive(false)
|
||||
this.equipPanel[1].curEquipText:SetActive(true)
|
||||
this.equipPanel[2].curEquipText:SetActive(false)
|
||||
this.equipPanel[1].curEquipBtnDown:SetActive(false)
|
||||
this.equipPanel[2].curEquipBtnDown:SetActive(true)
|
||||
this.equipPanel[2].curEquipBtnDownText.text = Language[12261]
|
||||
--"替 换"
|
||||
this.ShowCurEquipData(2)
|
||||
-- this.ShowCurEquipData(2)
|
||||
this.NextCurEquipData()
|
||||
elseif type==4 then
|
||||
this.equipPanel[2].bg:SetActive(false)
|
||||
|
@ -385,7 +385,7 @@ function this.SetBaijinProShow(CurOrNext, equipData, equipCfg, itemCfg)
|
|||
end
|
||||
if endProList and #endProList > 0 then
|
||||
equipPanel.baijinScroll:SetActive(true)
|
||||
this.SetScrollActive(CurOrNext, type == 3)
|
||||
-- this.SetScrollActive(CurOrNext, type == 3)
|
||||
for i = 1, math.max(#endProList, #proGoList) do
|
||||
if not proGoList[i] then
|
||||
proGoList[i] = newObjToParent(this.baijinProPre,equipPanel.baijinProGrid)
|
||||
|
@ -400,17 +400,18 @@ function this.SetBaijinProShow(CurOrNext, equipData, equipCfg, itemCfg)
|
|||
local suitNum = endProList[i][2][1]
|
||||
local passiveId = endProList[i][2][2]
|
||||
|
||||
Util.GetGameObject(go.transform, "title"):GetComponent("Text").text = "不朽天赋" ..i.. ":"
|
||||
if isGreen then--激活的要变颜色
|
||||
go:GetComponent("Text").text = "<color=#66FF00>" .. GetLanguageStrById(passiveSkillConfig[passiveId].Desc) .. "(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
|
||||
Util.GetGameObject(go.transform, "vale"):GetComponent("Text").text = ""--"<color=#66FF00>(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
|
||||
go:GetComponent("Text").text = "<color=#66FF00>" .. GetLanguageStrById(passiveSkillConfig[passiveId].Desc) .. "</color>"
|
||||
Util.GetGameObject(go.transform, "title/vale"):GetComponent("Text").text = "<color=#66FF00>(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
|
||||
else
|
||||
go:GetComponent("Text").text = "<color=#B9AC97>" .. GetLanguageStrById(passiveSkillConfig[passiveId].Desc) .. "(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
|
||||
Util.GetGameObject(go.transform, "vale"):GetComponent("Text").text = ""--"<color=#B9AC97>(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
|
||||
go:GetComponent("Text").text = "<color=#B9AC97>" .. GetLanguageStrById(passiveSkillConfig[passiveId].Desc) .. "</color>"
|
||||
Util.GetGameObject(go.transform, "title/vale"):GetComponent("Text").text = "<color=#B9AC97>(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
|
||||
end
|
||||
end
|
||||
else
|
||||
equipPanel.baijinScroll:SetActive(false)
|
||||
this.SetScrollActive(CurOrNext, false)
|
||||
-- this.SetScrollActive(CurOrNext, false)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue