예제 #1
0
파일: Menu.cs 프로젝트: AbnnerU/ROB-scripts
    // Start is called before the first frame update

    // Update is called once per frame
    private void Update()
    {
        if (SaveSystem.Carregar().nomeFase != "Seção 1 Level 1")
        {
            continuar.enabled = true;
            ColorBlock color = continuar.colors;
            color.normalColor = new Color(254, 254, 254, 255);
            continuar.colors  = color;
        }
    }
예제 #2
0
파일: Menu.cs 프로젝트: AbnnerU/ROB-scripts
 public void Jogar()
 {
     if (SaveSystem.Carregar() == null)
     {
         SceneManager.LoadScene("Seção 1 Level 1");
     }
     else
     {
         print(SaveSystem.Carregar().nomeFase);
         SceneManager.LoadScene(SaveSystem.Carregar().nomeFase);
     }
 }