void CountPercentageAndDisplayUI() { float percentage = CountPercentage(); percentageText.ShowPercentage(percentage); bar.FillWithPersentage(percentage); if (percentage < levelPreset.threeStarsThreshold) { star3.Disapplear(); } if (percentage < levelPreset.twoStarThreshold) { star2.Disapplear(); } }