【我要变强】增加评分进度条显隐控制
parent
e647486e07
commit
8f05e215fe
|
@ -251,6 +251,7 @@ function this.RefreshHeroGrowList()
|
||||||
value = curScore/maxScore
|
value = curScore/maxScore
|
||||||
str = string.format("%d/%d", curScore, maxScore)
|
str = string.format("%d/%d", curScore, maxScore)
|
||||||
end
|
end
|
||||||
|
progress.gameObject:SetActive(data.Control == 1)
|
||||||
progress.value = value
|
progress.value = value
|
||||||
progressText.text = str
|
progressText.text = str
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue