예제 #1
0
    public void DiscardPressed()
    {
        this.SetBGAudioVolume(ConfigOptions.LoadMusic());

        optionMenu.enabled      = false;
        startText.interactable  = true;
        exitText.interactable   = true;
        optionText.interactable = true;
    }
예제 #2
0
    public void OptionsPausePressed()
    {
        optionMenu.enabled = true;

        Slider[] sliderOptions = optionMenu.GetComponentsInChildren <Slider>(false);

        sliderOptions[0].value = ConfigOptions.LoadSFX();
        sliderOptions[1].value = ConfigOptions.LoadMusic();
    }
예제 #3
0
    public void OptionsPressed()
    {
        optionMenu.enabled      = true;
        startText.interactable  = false;
        exitText.interactable   = false;
        optionText.interactable = false;

        Slider[] sliderOptions = optionMenu.GetComponentsInChildren <Slider>(false);

        sliderOptions[0].value = ConfigOptions.LoadSFX();
        sliderOptions[1].value = ConfigOptions.LoadMusic();
    }
예제 #4
0
 public void DiscardPressed()
 {
     this.SetBGAudioVolume(ConfigOptions.LoadMusic());
     optionMenu.enabled = false;
 }