void HealthChanged() { transform.GetChild(0).localScale = new Vector3(parent.GetHealthPercent(), 1); }
private void k() { transform.Find("Bar").localScale = new Vector3(healthSystem.GetHealthPercent(), 1); }