竞技场头像修改
parent
d80ae88482
commit
e928165542
|
@ -318,7 +318,7 @@ function this.ShowSingleData(go,data,i)
|
|||
Util.GetGameObject(go, "playerInfo/warPower/powerBtn/value"):GetComponent("Text").text = data.personInfo.totalForce
|
||||
Util.GetGameObject(go, "playerInfo/warPower/Text"):GetComponent("Text").text = "第".. data.personInfo.rank .."名"
|
||||
local live = Util.GetGameObject(go, "playerInfo/live")
|
||||
this.LocadPersonInfoLive(go,data.personInfo,live.transform)--NameManager.roleSex
|
||||
this.LocadPersonInfoLive(go,data.personInfo,live)--NameManager.roleSex
|
||||
sdBtnRedPoint:SetActive(JumpServerManager.GetCanBattleCount() > 0 and enterable)
|
||||
Util.AddOnceClick(sdBtn,function()
|
||||
if not enterable then
|
||||
|
@ -372,7 +372,7 @@ function this.ShowSingleData(go,data,i)
|
|||
Util.GetGameObject(go, "playerInfo/warPower/powerBtn/value"):GetComponent("Text").text = data.personInfo.totalForce
|
||||
Util.GetGameObject(go, "playerInfo/warPower/Text"):GetComponent("Text").text = "第".. data.personInfo.rank .."名"
|
||||
local live = Util.GetGameObject(go, "playerInfo/live")
|
||||
this.LocadPersonInfoLive(go,data.personInfo,live.transform)
|
||||
this.LocadPersonInfoLive(go,data.personInfo,live)
|
||||
sdBtnRedPoint:SetActive(not data.hadProud)
|
||||
Util.GetGameObject(go, "sdBtn/Text"):GetComponent("Text").text = "膜 拜"
|
||||
Util.GetGameObject(go, "sdBtn/Text"):SetActive(not data.hadProud)
|
||||
|
@ -435,7 +435,11 @@ function this.LocadPersonInfoLive(go,data,live)
|
|||
-- end
|
||||
-- liveNodeList[go] = {name=npc, go=live2d}
|
||||
|
||||
if liveNodeList[go] then
|
||||
local boyIconRes = data.sex == boy and "Dragon Ball- (21)" or "Dragon Ball- (586)1"
|
||||
local icon = Util.GetGameObject(live, "Image")
|
||||
icon:GetComponent("Image").sprite = this.spLoader:LoadSprite(boyIconRes)
|
||||
--[[
|
||||
if liveNodeList[go] then
|
||||
liveNodeList[go]:OnClose()
|
||||
liveNodeList[go] = nil
|
||||
end
|
||||
|
@ -452,6 +456,8 @@ function this.LocadPersonInfoLive(go,data,live)
|
|||
else
|
||||
liveNodeList[go]:OnOpen(GetPlayerRoleSingleConFig().Scale6,Vector3.New(0,-118.65,0),WALK_DIR.IDLE_FRONT)
|
||||
end
|
||||
]]
|
||||
|
||||
-- liveNodeList[go] = {name=npc, go=live2d}
|
||||
end
|
||||
--刷新倒计时显示
|
||||
|
|
Loading…
Reference in New Issue