private void ShowNextLine() { if (storyLines[lineIndex] == "F") { textManager.ClearText(); lineIndex++; } textManager.AddLineOfText(storyLines[lineIndex] + "\n"); lineIndex++; if (lineIndex >= storyLines.Length) { allLinesShown = true; } }
private void ShowNextLine() { if (storyLines[lineIndex] == "F") { textManager.ClearText(); lineIndex++; } textManager.AddLineOfText(storyLines[lineIndex] + "\n"); lineIndex++; if (lineIndex >= storyLines.Length) { allLinesShown = true; } }