From aa666a5158b108a84c1d211104a18aceacda9d7c Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Wed, 16 Jun 2021 14:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=AC=E4=BC=9A=E3=80=91=E5=B8=A6?= =?UTF-8?q?=E7=A5=9E=E5=8D=B0=E7=9A=84=E6=88=90=E5=91=98=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/GuildMemberInfoPopup.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/GuildMemberInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Guild/GuildMemberInfoPopup.lua index f5c926641d..370bb2767f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/GuildMemberInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/GuildMemberInfoPopup.lua @@ -1,6 +1,7 @@ require("Base/BasePanel") local GuildMemberInfoPopup = Inherit(BasePanel) local this = GuildMemberInfoPopup +local XiuXianSkillConfig = ConfigManager.GetConfig(ConfigName.XiuXianSkillConfig) local _GuildPosBtnType = { [GUILD_MEM_POPUP_TYPE.INFORMATION] = { @@ -417,14 +418,14 @@ function this.FormationAdapter(teamInfo) end item.gameObject:SetActive(true) local icon = Util.GetGameObject(item,"icon"):GetComponent("Image") - local hero = Util.GetGameObject(item,"hero"):GetComponent("Image") + -- local hero = Util.GetGameObject(item,"hero"):GetComponent("Image") icon.sprite = this.spLoader:LoadSprite(GetResourcePath(XiuXianSkillConfig[value.id].Icon)) - if value.type == 1 then - hero.gameObject:SetActive(true) - hero.sprite = this.spLoader:LoadSprite(GetSpriteNameByItemId(value.heroTId)) - else - hero.gameObject:SetActive(false) - end + -- if value.type == 1 then + -- hero.gameObject:SetActive(true) + -- hero.sprite = this.spLoader:LoadSprite(GetSpriteNameByItemId(value.heroTId)) + -- else + -- hero.gameObject:SetActive(false) + -- end Util.AddOnceClick(item.gameObject,function () UIManager.OpenPanel(UIName.GeneralInfoPopup,GENERALINFO_TYPE.Imprint,value.id,value.heroTId) end)