TCX_LongZhu
PC-202302260912\Administrator 2025-09-11 18:38:29 +08:00
parent 039a4b1e23
commit 56b5513de9
1 changed files with 7 additions and 1 deletions

View File

@ -300,9 +300,15 @@ end
function RoleUpStarLayout:UpdateHeroUpStarProUpShow()
if upStarRankUpConfig and upStarRankUpConfig.Id then
local size = Vector2.New (50,50)
if curHeroData.star == 10 then
size = Vector2.New(60, 57)
end
SetHeroStars(this.spLoader, 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
--if curHeroData.star + 1 == 10 then nextStarPos = Vector3.New(0,-18.65,0) end
if curHeroData.star + 1 == 10 then
size = Vector2.New(60, 57)
end
SetHeroStars(this.spLoader, this.nextStarGrid, curHeroData.star + 1,2,size,-9)
local nextStarGridGo = Util.GetGameObject(this.nextStarGrid,"starGrid(Clone)")
if nextStarGridGo then