diff --git a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua index 0f460fb818..8e7e91f201 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua @@ -739,7 +739,7 @@ function this.GetPlayerViewDataByType(index,randomList,needNum,func) --LogGreen("发送好友信息") for i = 1, #msg.Friends do if msg.Friends[i].id ~= PlayerManager.uid then - LogBlue("msg.Friends[i] "..msg.Friends[i].userSkin.." "..msg.Friends[i].userTitle.." "..msg.Friends[i].userMount.." "..msg.Friends[i].sex) + LogBlue("msg.Friends[i] "..msg.Friends[i].userSkin.." "..msg.Friends[i].userTitle.." "..msg.Friends[i].userMount.." "..msg.Friends[i].sex.." "..msg.Friends[i].userName) table.insert(friendNPCList1,msg.Friends[i]) end end @@ -755,7 +755,7 @@ function this.GetPlayerViewDataByType(index,randomList,needNum,func) local MyGuildMemList = MyGuildManager.GetMyGuildMemList() for i = 1, #MyGuildMemList do if MyGuildMemList[i].roleUid ~= PlayerManager.uid then - LogBlue("MyGuildMemList[i] "..MyGuildMemList[i].userSkin.." "..MyGuildMemList[i].userTitle.." "..MyGuildMemList[i].userMount.." "..MyGuildMemList[i].sex) + LogBlue("MyGuildMemList[i] "..MyGuildMemList[i].userSkin.." "..MyGuildMemList[i].userTitle.." "..MyGuildMemList[i].userMount.." "..MyGuildMemList[i].sex.." "..MyGuildMemList[i].userName) table.insert(GuildNPCList1,MyGuildMemList[i]) end end @@ -774,7 +774,7 @@ function this.GetPlayerViewDataByType(index,randomList,needNum,func) local rankAllList = RankingManager.GetRankingInfo() for i = 1, math.max(20,#rankAllList) do if rankAllList[i] and rankAllList[i].uid ~= PlayerManager.uid then - LogBlue("rankAllList[i] "..rankAllList[i].userSkin.." "..rankAllList[i].userTitle.." "..rankAllList[i].userMount.." "..rankAllList[i].sex) + LogBlue("rankAllList[i] "..rankAllList[i].userSkin.." "..rankAllList[i].userTitle.." "..rankAllList[i].userMount.." "..rankAllList[i].sex.." "..rankAllList[i].userName) table.insert(rankNPCList1,rankAllList[i]) end end diff --git a/Assets/ManagedResources/~Lua/View/SingleFightPlayerView.lua b/Assets/ManagedResources/~Lua/View/SingleFightPlayerView.lua index a5b216de21..fc3297d21c 100644 --- a/Assets/ManagedResources/~Lua/View/SingleFightPlayerView.lua +++ b/Assets/ManagedResources/~Lua/View/SingleFightPlayerView.lua @@ -9,7 +9,7 @@ local m_roleTextPos = { local namePos = { [1] = {pos = Vector3.New(-1.86, 185.3, 0)}, -- 角色朝左,气泡在左 - [2] = {pos = Vector3.New(154, 273.5, 0)} -- 反之 + [2] = {pos = Vector3.New(-1.86, 273.5, 0)} -- 反之 } -- 老头对话气泡位置 local m_oldManTextPos = { @@ -171,7 +171,8 @@ function SingleFightPlayerView:SetData(u,v,isSelf,data) else self.nameDi.transform.localPosition = namePos[2].pos end - self.name.text = data.userName + LogGreen(data.userName.." data.userName ") + self.name.text = data.userName self.nameDi.gameObject:SetActive(true) end self.playerLiveView:OnOpen(GetPlayerRoleSingleConFig().Scale2)