public void BuyGold()
    {
        float currentGoldPrice = priceManager.GetGoldPrice();

        try {
            Withdraw(currentGoldPrice);
            goldNumber++;
        } catch {
            print("Fond insuffisant");
        }
    }
 // Update is called once per frame
 void Update()
 {
     goldPriceText.text = "Or : " + priceManager.GetGoldPrice();
 }