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)