예제 #1
0
    //private void Update() {
    //    backgImage.color = new Color32(214, 107, 20, 255);
    //}

    public void SoundToggle(bool toggle)
    {
        musicManager.AudioMute(toggle);
        if (toggle == true)
        {
            PlayerPrefsManager.SetMasterSound(1);
        }
        else if (toggle == false)
        {
            PlayerPrefsManager.SetMasterSound(0);
        }
    }