public void BobBtn()
    {
        GameObject Bobtoggle;

        Bobtoggle = GameObject.Find("BobToggle");
        if (Bobtoggle.GetComponent <UnityEngine.UI.Toggle>().isOn == true)
        {
            PlayerPrefs.SetInt("Headbob", 1);
        }
        else if (Bobtoggle.GetComponent <UnityEngine.UI.Toggle>().isOn == false)
        {
            PlayerPrefs.SetInt("Headbob", 0);
        }
    }
    public void SettingsTemp()
    {
        GameObject Bobtoggle;

        Bobtoggle = GameObject.Find("BobToggle");
        if (PlayerPrefs.GetInt("Headbob") == 1)
        {
            Bobtoggle.GetComponent <UnityEngine.UI.Toggle>().isOn = true;
        }
        else
        {
            Bobtoggle.GetComponent <UnityEngine.UI.Toggle>().isOn = false;
        }
        GameObject.Find("MusicVolume").GetComponent <UnityEngine.UI.Slider>().value = PlayerPrefs.GetFloat("Music");
    }