【玩家信息】提交
parent
1f9275e9d8
commit
3ad8b6b6c3
|
|
@ -50814,7 +50814,7 @@ MonoBehaviour:
|
|||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Padding:
|
||||
m_Left: -30
|
||||
m_Left: 30
|
||||
m_Right: 0
|
||||
m_Top: 0
|
||||
m_Bottom: 0
|
||||
|
|
@ -201869,9 +201869,9 @@ MonoBehaviour:
|
|||
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
m_FontData:
|
||||
m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3}
|
||||
m_FontSize: 40
|
||||
m_FontSize: 36
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 1
|
||||
m_BestFit: 0
|
||||
m_MinSize: 3
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 4
|
||||
|
|
|
|||
|
|
@ -518,10 +518,13 @@ end
|
|||
function this.ShowInfos(teamInfo)
|
||||
for index, value in ipairs(this.InfoBtnsList) do
|
||||
local img = value:GetComponent("Image")
|
||||
local text = Util.GetGameObject(value,"btnName"):GetComponent("Text")
|
||||
if this.infoIndex == index then
|
||||
img.sprite = this.spLoader:LoadSprite("s_shop_qieye_2")
|
||||
text.color = Color.New(253 / 255, 244 / 255, 214 / 255, 1)
|
||||
else
|
||||
img.sprite = this.spLoader:LoadSprite("s_shop_qieye_1")
|
||||
text.color = Color.New(181 / 255, 164 / 255, 129 / 255, 1)
|
||||
end
|
||||
Util.GetGameObject(this.InfoContent,InfoBtns[index].gridName):SetActive(false)
|
||||
end
|
||||
|
|
@ -586,6 +589,7 @@ end
|
|||
--四象心法
|
||||
function this.fourElementInfoShow(teamInfo,Grid)
|
||||
local textList = {}
|
||||
local TRANS = {[1] = 2,[2] = 1,[3] = 3,[4] = 4,}
|
||||
for i = 1, 4 do
|
||||
textList[i] = Util.GetGameObject(Grid,"fourPre ("..i..")/lv/Text")
|
||||
textList[i]:GetComponent("Text").text = "0"
|
||||
|
|
@ -593,7 +597,7 @@ function this.fourElementInfoShow(teamInfo,Grid)
|
|||
for i = 1, #teamInfo.sixiangxinfaInfo do
|
||||
local data = teamInfo.sixiangxinfaInfo[i]
|
||||
-- LogYellow("四象心法 职业id:"..tostring(data.professionId).." 等级:"..tostring(data.level))
|
||||
textList[data.professionId]:GetComponent("Text").text = data.level
|
||||
textList[TRANS[data.professionId]]:GetComponent("Text").text = data.level
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -639,10 +643,10 @@ function this.RideInfoShow(teamInfo,Grid)
|
|||
item.gameObject:SetActive(true)
|
||||
end
|
||||
if #teamInfo.userMountInfo > 4 then
|
||||
Grid:GetComponent("HorizontalLayoutGroup").paddingLeft = 30
|
||||
-- Grid:GetComponent("HorizontalLayoutGroup").padding.left = 30
|
||||
Grid:GetComponent("RectTransform").pivot = Vector2.New(0, 0.5)
|
||||
else
|
||||
Grid:GetComponent("HorizontalLayoutGroup").paddingLeft = -30
|
||||
-- Grid:GetComponent("HorizontalLayoutGroup").padding.left = -30
|
||||
Grid:GetComponent("RectTransform").pivot = Vector2.New(0.5, 0.5)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue