Exemple #1
0
    IEnumerator displayScreen()
    {
        yield return(new WaitForSeconds(lengthOfScreen));

        fade.fadeOutMethod();
        splashScreen[days].SetActive(false);
        dayCamera.gameObject.SetActive(false);
        movementScript.gameObject.SetActive(true);
        Debug.Log("Screen Coroutine running");
    }