TCX_LongZhu
parent
039a4b1e23
commit
56b5513de9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue