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