【我要变强】增加评分进度条显隐控制

dev_chengFeng
ZhangBiao 2021-10-19 15:40:42 +08:00
parent e647486e07
commit 8f05e215fe
1 changed files with 1 additions and 0 deletions

View File

@ -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