private IEnumerator Print(string desiredText) { dialogBoxWriter.SetText(desiredText); while (dialogBoxWriter.HasMoreText()) { dialogBoxWriter.Print(); yield return(new WaitForSeconds(printSpeed)); } dialogDoneEvent.Invoke(); }
public void TestHasMoreText_ReturnsFalseIfNoTextSet() { Assert.IsFalse(dialogBoxWriter.HasMoreText()); }