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