Esempio n. 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));
 }
Esempio n. 2
0
 void UpdateHPBar()
 {
     HPbar.updateGauge(maxHP, HP);
 }