Esempio n. 1
0
    private IEnumerator StartTextCoroutines()
    {
        ToggleBoundaries();
        StartCoroutine(TextFadeController.TextFade(tutorialText, showDuration, textPauseDuration, true));
        yield return(new WaitForSeconds(showDuration + textPauseDuration));

        StartCoroutine(TextFadeController.TextFade(objectiveText, showDuration, textPauseDuration, true));
        Invoke("ToggleBoundaries", showDuration + textPauseDuration);
    }
Esempio n. 2
0
    private IEnumerator StartTextCoroutines()
    {
        yield return(new WaitForSeconds(winDelay));

        StartCoroutine(TextFadeController.TextFade(finalText1, textShowDuration, textPauseDuration, true));
        yield return(new WaitForSeconds(delayBetweenStarts));

        StartCoroutine(TextFadeController.TextFade(finalText2, textShowDuration, textPauseDuration, true));
        Invoke("ToggleFinalBoundary", textShowDuration + textPauseDuration);
    }