예제 #1
0
    public void PrintNext()
    {
        var lines = dialogScroller.Next();

        if (lines == null || lines.Length == 0)
        {
            EndDialog();
            return;
        }

        StopAllCoroutines();
        PlaySound();
        StartCoroutine(Print(lines, dialogScroller.IsInitial() || dialogScroller.IsParagraphStart()));
    }
예제 #2
0
    public void PrintNext()
    {
        var showArrow = dialogScroller.IsPaged() && !dialogScroller.IsLastPage();

        var lines = dialogScroller.Next();

        if (lines == null || lines.Length == 0)
        {
            EndDialog();
            return;
        }

        dialogArrow.gameObject.SetActive(showArrow);
        StopAllCoroutines();
        PlaySound();

        StartCoroutine(Print(lines, dialogScroller.IsFirstBuffer() || dialogScroller.IsFirstBufferLine()));
    }