示例#1
0
    public IEnumerator loadLevel(int level)
    {
        loadingScreen.KeepItAfterLoading();
        yield return(StartCoroutine(loadingScreen.FadeInBlackScreen()));

        loadingScene = Application.LoadLevelAsync(level);
    }