private void OnTriggerEnter2D(Collider2D other) { bgmSource.DOFade(0, 5).OnComplete(() => StartCoroutine(LoadingScreen.LoadScene(menuScene))); virtualPlayerCamera.SetActive(false); }
private void Start() { LoadingScreen.Create(); }
private void Start() { //call it to be safe. LoadingScreen.Create(); }