Example #1
0
    public IEnumerator slowWrite()
    {
        text.text = "";
        foreach (char c in currentMessage)
        {
            text.text += c;
            yield return(new WaitForSeconds(waitTimeBetweenChar));
        }
        yield return(new WaitForSeconds(paddingTime));

        talker.zoomer.UnZoomOnConvo();
        talker.DisengageConversation();
        lover.checks++;
        yield return(new WaitForSeconds(paddingTime / 2));

        StartCoroutine("FadeAway");
        if (lover.checks >= 4)
        {
            talker.zoomer.LoverZoom();
        }
    }