private void Start()
 {
     OpenSettingsMenu(false);
     savingManager = FindObjectOfType <SavingManager>();
     if (savingManager.LoadingScreen.activeInHierarchy)
     {
         StartCoroutine(DiseableLoadingScreen());
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     savingManager = FindObjectOfType <SavingManager>();
     fader         = FindObjectOfType <Fader>();
     boxCollider   = GetComponent <BoxCollider>();
 }
 private void Awake()
 {
     instance = this;
     LoadingScreen.gameObject.SetActive(false);
     SceneManager.LoadSceneAsync((int)Scenes.Menu, LoadSceneMode.Additive);
 }