public void PrintNext() { var lines = dialogScroller.Next(); if (lines == null || lines.Length == 0) { EndDialog(); return; } StopAllCoroutines(); PlaySound(); StartCoroutine(Print(lines, dialogScroller.IsInitial() || dialogScroller.IsParagraphStart())); }
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())); }