Example #1
0
 void Update()
 {
     _healthImage.fillAmount = _playerControl.GetComponent <Health>().HealthAsPercentage;
 }
 void Update()
 {
     _energyImage.fillAmount = _playerControl.GetComponent <SpecialAbilities>().EnergyAsPercentage;
 }