英雄星级显示修改
parent
5ecaea7bf4
commit
5160b82651
|
@ -888,12 +888,12 @@ function SetCardStars(starGrid, star,starType)
|
||||||
else
|
else
|
||||||
starGrid.gameObject:SetActive(true)
|
starGrid.gameObject:SetActive(true)
|
||||||
end
|
end
|
||||||
if star>11 then
|
if star>=11 then
|
||||||
starType=3
|
starType=3
|
||||||
end
|
end
|
||||||
if starType == 3 then
|
if starType == 3 then
|
||||||
starScale = 7
|
starScale = 7
|
||||||
star=star-11
|
star=star-10
|
||||||
end
|
end
|
||||||
for i = 1, starGrid.transform.childCount do
|
for i = 1, starGrid.transform.childCount do
|
||||||
starGrid.transform:GetChild(i - 1).gameObject:SetActive(false)
|
starGrid.transform:GetChild(i - 1).gameObject:SetActive(false)
|
||||||
|
|
Loading…
Reference in New Issue