Exemplo n.º 1
0
    public void OnSaveClick()
    {
        SaveSettings();
        OptionsScript.ChangeActive();

        if (GameObject.FindGameObjectWithTag("PauseMenu"))
        {
            pausedMenu = GameObject.FindGameObjectWithTag("PauseMenu").GetComponent <PausedMenu>();
            pausedMenu.Child.SetActive(true);
        }
    }
Exemplo n.º 2
0
 //When the options button is clicked, activate the options menu
 //, grab soundScript and call NewScene() and SetVolumeSlider()
 public void OnOptionsClick()
 {
     OptionsScript.ChangeActive();
 }