英雄星级显示修改

TCX_dev_realOne_master
PC-202302260912\Administrator 2023-12-12 17:53:04 +08:00
parent 5ecaea7bf4
commit 5160b82651
1 changed files with 2 additions and 2 deletions

View File

@ -888,12 +888,12 @@ function SetCardStars(starGrid, star,starType)
else
starGrid.gameObject:SetActive(true)
end
if star>11 then
if star>=11 then
starType=3
end
if starType == 3 then
starScale = 7
star=star-11
star=star-10
end
for i = 1, starGrid.transform.childCount do
starGrid.transform:GetChild(i - 1).gameObject:SetActive(false)