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