示例#1
0
 void Update()
 {
     UpdateBar(healthBar, maxHealth, avatar.GetHealth());
     UpdateBar(energyBar, maxEnergy, bulletGun.GetEnergy());
 }