void UpdateCurrentHealthText() { float playerCurHealth = playerHealth.GetHealth(); float playerMaxHealth = playerHealth.GetMaxHealth(); float earthCurHealth = earthHealth.GetHealth(); float earthMaxHealth = earthHealth.GetStartingHealth(); upgradeMenu.UpdateHealthText(playerCurHealth, playerMaxHealth, earthCurHealth, earthMaxHealth); }