Exemplo n.º 1
0
    /// <summary>
    /// Gets and starts the display process for the next line of text.
    /// </summary>
    private void NextLine()
    {
        current_line = dialogue.NextLine();
        if (current_line != null)
        {
            duration = current_line.Duration();

            if (current_line.text == null && current_line.character == null)
            {
                HideBG();
            }
        }
        else
        {
            duration = 0.0f;
        }
        timer = 0.0f;
        HideLine(); // UX: hiding the line for a TINY amount of time makes the change register to users.
    }