public void Buy_Trail()
    {
        if (trail_selection == 0)
        {
            if (trail_0_locked)
            {
                if (player_coins >= trail_costs)
                {
                    player_coins  -= trail_costs;
                    trail_0_locked = false;
                    selected_trail = 0;
                    BuySound.Play();
                    SelectedBuyTrail_Text.text = "SELECTED";
                    Change_Trail(selected_trail);
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_trail             = 0;
                SelectedBuyTrail_Text.text = "SELECTED";
                Change_Trail(selected_trail);
            }
            Save_Customization();
            SaveCoins();
        }
        if (trail_selection == 1)
        {
            if (trail_1_locked)
            {
                if (player_coins >= trail_costs)
                {
                    player_coins  -= trail_costs;
                    trail_1_locked = false;
                    selected_trail = 1;
                    BuySound.Play();
                    SelectedBuyTrail_Text.text = "SELECTED";
                    Change_Trail(selected_trail);
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_trail             = 1;
                SelectedBuyTrail_Text.text = "SELECTED";
                Change_Trail(selected_trail);
            }
            Save_Customization();
            SaveCoins();
        }
        if (trail_selection == 2)
        {
            if (trail_2_locked)
            {
                if (player_coins >= trail_costs)
                {
                    player_coins  -= trail_costs;
                    trail_2_locked = false;
                    selected_trail = 2;
                    BuySound.Play();
                    SelectedBuyTrail_Text.text = "SELECTED";
                    Change_Trail(selected_trail);
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_trail             = 2;
                SelectedBuyTrail_Text.text = "SELECTED";
                Change_Trail(selected_trail);
            }
            Save_Customization();
            SaveCoins();
        }

        SaveLocked();
    }
 public void Toggle_Settings()
 {
     UI_Button_Sound.Play();
     show_settings = !show_settings;
     Settings_Panel.SetActive(show_settings);
 }
    public void Buy_Color()
    {
        if (color_selection == 0)
        {
            if (color_0_locked)
            {
                if (player_coins >= color_costs)
                {
                    player_coins  -= color_costs;
                    color_0_locked = false;
                    selected_color = 0;
                    BuySound.Play();
                    SelectedBuyColor_Text.text = "SELECTED";
                    Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_color             = 0;
                SelectedBuyColor_Text.text = "SELECTED";
                Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
            }
            Save_Customization();
            SaveCoins();
        }
        if (color_selection == 1)
        {
            if (color_1_locked)
            {
                if (player_coins >= color_costs)
                {
                    player_coins  -= color_costs;
                    color_1_locked = false;
                    selected_color = 1;
                    BuySound.Play();
                    SelectedBuyColor_Text.text = "SELECTED";
                    Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_color             = 1;
                SelectedBuyColor_Text.text = "SELECTED";
                Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
            }
            Save_Customization();
            SaveCoins();
        }
        if (color_selection == 2)
        {
            if (color_2_locked)
            {
                if (player_coins >= color_costs)
                {
                    player_coins  -= color_costs;
                    color_2_locked = false;
                    selected_color = 2;
                    BuySound.Play();
                    SelectedBuyColor_Text.text = "SELECTED";
                    Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_color             = 2;
                SelectedBuyColor_Text.text = "SELECTED";
                Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
            }
            Save_Customization();
            SaveCoins();
        }
        if (color_selection == 3)
        {
            if (color_3_locked)
            {
                if (player_coins >= color_costs)
                {
                    player_coins  -= color_costs;
                    color_3_locked = false;
                    selected_color = 3;
                    BuySound.Play();
                    SelectedBuyColor_Text.text = "SELECTED";
                    Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_color             = 3;
                SelectedBuyColor_Text.text = "SELECTED";
                Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
            }
            Save_Customization();
            SaveCoins();
        }
        if (color_selection == 4)
        {
            if (color_4_locked)
            {
                if (player_coins >= color_costs)
                {
                    player_coins  -= color_costs;
                    color_4_locked = false;
                    selected_color = 4;
                    BuySound.Play();
                    SelectedBuyColor_Text.text = "SELECTED";
                    Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
                }
            }
            else
            {
                UI_Button_Sound.Play();
                selected_color             = 4;
                SelectedBuyColor_Text.text = "SELECTED";
                Player_Idle.GetComponent <Image>().color = Colors[selected_color].gameObject.GetComponent <Image>().color;
            }
            Save_Customization();
            SaveCoins();
        }

        SaveLocked();
    }