From cdb6218ccbcaa1b0352acc80f902e2ee062ea482 Mon Sep 17 00:00:00 2001 From: "DESKTOP-MMO982B\\User" <752966621@qq.com> Date: Mon, 24 Mar 2025 20:57:48 +0800 Subject: [PATCH] 1 --- .../~Lua/Modules/HandBook/HandBookHeroInfoPanel.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroInfoPanel.lua index 18293eeeca..4accf8bfdb 100644 --- a/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/HandBook/HandBookHeroInfoPanel.lua @@ -42,7 +42,7 @@ function HandBookHeroInfoPanel:InitComponent() this.spLoader = SpriteLoader.New() self.btnBack = Util.GetGameObject(self.transform, "btnBack") this.bgImageList = {} - for i = 1, 4 do + for i = 1, 5 do this.bgImageList[i] = Util.GetGameObject(self.transform, "bg/di ("..i..")") end self.curObj= Util.GetGameObject(self.transform, "curObj") @@ -229,7 +229,7 @@ function HandBookHeroInfoPanel:UpdateLiveList() end function HandBookHeroInfoPanel:SetPanelBg(heroData) - for i = 1, 4 do + for i = 1, 5 do if heroData.PropertyName == i then this.bgImageList[i]:SetActive(true) else