void Update () { if(hero != null) { _lifeValue = Mathf.CeilToInt(hero.getLife()*maxLife); _lifeValueLabel.text = _lifeValue.ToString(); } } }