Пример #1
0
 public void AbrirConfiguracoes()
 {
     MenuCanvas.SetActive(false);
     ConfigAudioCanvas.SetActive(false);
     ConfigNaveCanvas.SetActive(false);
     ConfiguracoesCanvas.SetActive(true);
 }
Пример #2
0
 private void Start()
 {
     AC                  = FindObjectOfType(typeof(AudioController)) as AudioController;
     MenuCanvas          = GameObject.Find("MenuCanvas");
     ConfiguracoesCanvas = GameObject.Find("ConfiguracoesCanvas");
     ConfigAudioCanvas   = GameObject.Find("ConfiguracoesAudioCanvas");
     ConfigNaveCanvas    = GameObject.Find("ConfiguracoesNaveCanvas");
     SelecaoFaseCanvas   = GameObject.Find("SelecaoFaseCanvas");
     ConfiguracoesCanvas.SetActive(false);
     ConfigAudioCanvas.SetActive(false);
     ConfigNaveCanvas.SetActive(false);
     SelecaoFaseCanvas.SetActive(false);
     volumeSlider.value = PlayerPrefs.GetFloat("Volume");
 }
Пример #3
0
 public void AbrirConfigAudio()
 {
     ConfiguracoesCanvas.SetActive(false);
     ConfigAudioCanvas.SetActive(true);
 }