Пример #1
0
    IEnumerator ProgressionCheck1()
    {
        //start of the first tutorial
        TutorialSpawning.onSpawnGecko();
        yield return(new WaitForSeconds(2.5f));

        TogglePauseCharacters(true);
        _tutorialPanels[0].gameObject.SetActive(true);
        _tutorialCount = 0;
        _couldSkip     = true;
    }
Пример #2
0
    IEnumerator ProgressionCheck3()
    {
        //start of the 3e tutorial
        yield return(new WaitForSeconds(4f));

        TutorialSpawning.onSpawnComododragon();
        yield return(new WaitForSeconds(1.5f));

        TogglePauseCharacters(true);
        _tutorialPanels[2].gameObject.SetActive(true);
        _tutorialCount = 3;
        _couldSkip     = true;
    }