From 90d9530b2b2ab990bec4ef3dfb255be1ae09a423 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Mon, 27 Sep 2021 11:46:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B9=BE=E5=9D=A4=E5=AE=9D=E7=9B=92?= =?UTF-8?q?=E3=80=91=E6=8A=A5=E9=94=99=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua index 6a12c45e71..20c75b1348 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/View/GeneralPopup_ChooseUpSoul.lua @@ -114,7 +114,7 @@ function this.SingleHeroDataShow(go,_heroData) local selectObj=Util.GetGameObject(_go.transform, "choosed"):GetComponent("Image") selectObj.sprite=this.spLoader:LoadSprite("r_chouka_yixuanding") local isHave = table.indexof(this.currHeroIds,heroData.Id) - selectObj.gameObject:SetActive(isHave) + selectObj.gameObject:SetActive(not not isHave) Util.AddOnceClick(btn, function() if #this.currHeroIds==3 and not isHave then PopupTipPanel.ShowTip("只可选择3枚心愿魂印")