public void UpdateHP(int hp, TestUnit unit) { unit.GetComponentInChildren <Text>().text = "HP: " + hp; }