예제 #1
0
 void Start()
 {
     currentHP = maxHP;
     healthBar = GetComponentInChildren <SimpleHealthBar>();
     healthBar.SetupBar(maxHP);
 }