【白金装备】修改白金装备字体显示

dev_chengFeng
gaoxin 2021-09-26 18:41:47 +08:00
parent 54afaef65a
commit f282fe046b
2 changed files with 6 additions and 6 deletions

View File

@ -7004,10 +7004,10 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 6fa15837529b0e640af6620b07d3207d, type: 3}
m_FontSize: 35
m_FontSize: 28
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 26
m_MinSize: 2
m_MaxSize: 35
m_Alignment: 0
m_AlignByGeometry: 0

View File

@ -401,11 +401,11 @@ function this.SetBaijinProShow(CurOrNext, equipData, equipCfg, itemCfg)
local passiveId = endProList[i][2][2]
if isGreen then--激活的要变颜色
go:GetComponent("Text").text = "<color=#66FF00>" .. GetLanguageStrById(passiveSkillConfig[passiveId].Desc) .. "</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) .. "" .. GetEquipSuitStr(Star,suitNum) .. "</color>"
Util.GetGameObject(go.transform, "vale"):GetComponent("Text").text = ""--"<color=#66FF00>(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
else
go:GetComponent("Text").text = "<color=#B9AC97>" .. GetLanguageStrById(passiveSkillConfig[passiveId].Desc) .. "</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) .. "" .. GetEquipSuitStr(Star,suitNum) .. "</color>"
Util.GetGameObject(go.transform, "vale"):GetComponent("Text").text = ""--"<color=#B9AC97>(" .. GetEquipSuitStr(Star,suitNum) .. ")</color>"
end
end
else