예제 #1
0
 void UpdateScoreGauge()
 {
     if (scoreGauge.gameObject.activeSelf)
     {
         scoreGauge.SetProgressTransition((float)score / numberOfDishes);
     }
 }
 public void ChangeProgressBar(float value)
 {
     if (scoreGauge.gameObject.activeSelf)
     {
         scoreGauge.SetProgressTransition(value);
     }
 }
 void UpdateScoreGauge()
 {
     if (scoreGauge.gameObject.activeSelf)
     {
         scoreGauge.SetProgressTransition((float)score / GetLevelConfig().scoreGoal);
     }
 }