星星修改提交

dev_chengFeng
jiaoyangna 2021-11-05 10:53:07 +08:00
parent 2774ca08b1
commit ccedbd3867
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ function SetHeroStars(spLoader, starGrid, star, type,_starSize,_scale,_pivot,rot
end
elseif star > 5 and star < 10 then
for i = 2, 24 do
if i - 1 <= star - 4 then
if i - 1 <= star - 5 then
starPre.transform:GetChild(i - 1):GetComponent("Image").sprite = spLoader:LoadSprite(GetHeroStarImage[2])
starPre.transform:GetChild(i - 1):GetComponent("RectTransform").sizeDelta = starSize
if rotation then