void SetEnergy(float energy) { _energy = energy; _batteryLife.Refresh(_animator.GetCurrentName(), _animator.GetCurrentIndex(), _energy / _maxEnergy); }