From ac3fe3f251d3a18bfbdb2a9640d68ee155508a2d Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Wed, 24 Feb 2021 10:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8D=87=E6=98=9F=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E3=80=919=E5=8D=8710=E6=98=9F=EF=BC=8C?= =?UTF-8?q?=E5=8D=81=E6=98=9F=E4=BD=8D=E7=BD=AE=E9=9C=80=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/RoleUpStarLayout.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarLayout.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarLayout.lua index b94f8cc781..4f1995e71d 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarLayout.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarLayout.lua @@ -242,7 +242,13 @@ function this:UpdateHeroUpStarProUpShow() if upStarRankUpConfig and upStarRankUpConfig.Id then local size = Vector2.New (45,45) SetHeroStars(this.curStarGrid, curHeroData.star,2,size,-9) + local nextStarPos = Vector3.New(0,0,0) + if curHeroData.star + 1 == 10 then nextStarPos = Vector3.New(0,-18.65,0) end SetHeroStars(this.nextStarGrid, curHeroData.star + 1,2,size,-9) + local nextStarGridGo = Util.GetGameObject(this.nextStarGrid,"starGrid(Clone)") + if nextStarGridGo then + nextStarGridGo.transform.localPosition = nextStarPos + end --this.curLvEnd.text = HeroManager.GetCurHeroStarLvEnd(1,curHeroData) --this.nextLvEnd.text = HeroManager.GetCurHeroStarLvEnd(2,curHeroData,curHeroData.breakId,upStarRankUpConfig.Id) local nextUpStarConFig = ConfigManager.GetConfigData(ConfigName.HeroRankupConfig,upStarRankUpConfig.Id)