Beispiel #1
0
    private IEnumerator Menu()
    {
        Uimanger.Instance.FadeOn(true);
        yield return(new WaitForSeconds(1f));

        LoadManger.LoadScene(0);
    }
Beispiel #2
0
    private IEnumerator LoadGame()
    {
        Uimanger.Instance.FadeOn(false);
        yield return(new WaitForSecondsRealtime(1f));

        LoadManger.LoadScene(scenename);
    }