public void SetShopMaterials()
    {
        DebugMenu variables   = DebugMenu.Instance;
        int       currentCoin = PlayerPrefs.GetInt("Total Coin");

        mainCoinText.text = currentCoin.ToString("F0");
        if (PlayerPrefs.GetString("Hat") == "WizardHat")
        {
            wizardHat.gameObject.SetActive(false);
            wizardHatBuy.interactable = false;
            wizardHatBuy.image.sprite = used;
        }

        else if (PlayerPrefs.GetInt("WizardHat") == 1)
        {
            wizardHat.gameObject.SetActive(false);
            wizardHatBuy.interactable = true;
            wizardHatBuy.image.sprite = use;
        }

        else if (currentCoin < variables.GetWizardHatPrice())
        {
            wizardHatBuy.interactable = false;
        }

        if (PlayerPrefs.GetString("Hat") == "CowboyHat")
        {
            cowboyHat.gameObject.SetActive(false);
            cowboyHatBuy.interactable = false;
            cowboyHatBuy.image.sprite = used;
        }

        else if (PlayerPrefs.GetInt("CowboyHat") == 1)
        {
            cowboyHat.gameObject.SetActive(false);
            cowboyHatBuy.interactable = true;
            cowboyHatBuy.image.sprite = use;
        }

        else if (currentCoin < variables.GetCowboyHatPrice())
        {
            cowboyHatBuy.interactable = false;
        }

        if (PlayerPrefs.GetString("Hat") == "PirateHat")
        {
            pirateHat.gameObject.SetActive(false);
            pirateHatBuy.interactable = false;
            pirateHatBuy.image.sprite = used;
        }

        else if (PlayerPrefs.GetInt("PirateHat") == 1)
        {
            pirateHat.gameObject.SetActive(false);
            pirateHatBuy.interactable = true;
            pirateHatBuy.image.sprite = use;
        }

        else if (currentCoin < variables.GetPirateHatPrice())
        {
            pirateHatBuy.interactable = false;
        }

        if (PlayerPrefs.GetString("Hat") == "TopHat")
        {
            topHat.gameObject.SetActive(false);
            topHatBuy.interactable = false;
            topHatBuy.image.sprite = used;
        }

        else if (PlayerPrefs.GetInt("TopHat") == 1)
        {
            topHat.gameObject.SetActive(false);
            topHatBuy.interactable = true;
            topHatBuy.image.sprite = use;
        }

        else if (currentCoin < variables.GetTopHatPrice())
        {
            topHatBuy.interactable = false;
        }
    }