예제 #1
0
 // Update is called once per frame
 void Update()
 {
     current = meter.DbValue - decibleBase;
     if (decibleBar != null)
     {
         decibleBar.updateGauge(threshold, current);
     }
     //Debug.Log(threshold+"|" +(current - decibleBase));
 }
예제 #2
0
 void UpdateHPBar()
 {
     HPbar.updateGauge(maxHP, HP);
 }