【十绝阵】修改提交
parent
175752ea75
commit
f5fface274
|
|
@ -154,8 +154,8 @@ function this.RefreshPanel()
|
||||||
for i = 1, #preList do
|
for i = 1, #preList do
|
||||||
Util.AddOnceClick(preList[i],function()
|
Util.AddOnceClick(preList[i],function()
|
||||||
local guildName=Util.GetGameObject(preList[i],"Guild/GuildName"):GetComponent("Text")
|
local guildName=Util.GetGameObject(preList[i],"Guild/GuildName"):GetComponent("Text")
|
||||||
local guildName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")
|
local serverName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")
|
||||||
UIManager.OpenPanel(UIName.DeathPosInfoPanel,i,guildName.text,guildName.text)
|
UIManager.OpenPanel(UIName.DeathPosInfoPanel,i,guildName.text,serverName.text)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
@ -185,7 +185,6 @@ function this.RefreshGuildInfo()
|
||||||
local data=DeathPosManager.GetGuildInfoData()
|
local data=DeathPosManager.GetGuildInfoData()
|
||||||
for i = 1, #preList do
|
for i = 1, #preList do
|
||||||
for key, value in pairs(data) do
|
for key, value in pairs(data) do
|
||||||
LogGreen("value.pathId:"..value.pathId.." i:"..i)
|
|
||||||
if i==value.pathId then
|
if i==value.pathId then
|
||||||
local guild=Util.GetGameObject(preList[i],"Guild")
|
local guild=Util.GetGameObject(preList[i],"Guild")
|
||||||
local serverName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")
|
local serverName=Util.GetGameObject(preList[i],"serverName/Text"):GetComponent("Text")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue