From edb65d5c8f63a6856704a26dffe256a5e9076702 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Tue, 5 Dec 2023 14:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AD=82=E5=8D=B0=E5=BC=80=E5=90=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/SoulPrint/SoulPrintPanel.lua | 36 +++++++++++-------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/SoulPrint/SoulPrintPanel.lua b/Assets/ManagedResources/~Lua/Modules/SoulPrint/SoulPrintPanel.lua index 6817ab7300..11c94235f4 100644 --- a/Assets/ManagedResources/~Lua/Modules/SoulPrint/SoulPrintPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/SoulPrint/SoulPrintPanel.lua @@ -243,11 +243,15 @@ function this.SetLoopUI() LogError("最大槽位数量"..loopCount.." 可装备槽位数量"..didLen.." 最大动态等级"..didLv.." 配置最大等级"..maxLv) --初始化 + for i=1, #loopList do + loopList[i]:SetActive(false) + end for i=1,loopCount do if not loopList[i] then loopList[i]=newObjToParent(this.loopPre,this.loopRoot) end loopList[i].name="Pre"..i + loopList[i]:SetActive(true) end --设置不包含最后一位 为默认 for j=1,loopCount do @@ -261,21 +265,25 @@ function this.SetLoopUI() end end --最后一位锁定 - local rules=equipSignSetting[maxLv].OpenRules - if rules[1]==1 then - if PlayerManager.level