private void OnDisable() { onUpdateHealth -= UpdateHealthUI; onUpdateEnergy -= UpdateEnergyUI; }
private void OnEnable() { onUpdateHealth += UpdateHealthUI; onUpdateEnergy += UpdateEnergyUI; }