|
|
@ -585,6 +585,15 @@ namespace Fungus |
|
|
|
|
|
|
|
|
|
|
|
textAdapter.RevealedCharacters++; |
|
|
|
textAdapter.RevealedCharacters++; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NotifyGlyph(); |
|
|
|
|
|
|
|
//TODO need to log some info here, it's not a perf spike |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Punctuation pause |
|
|
|
|
|
|
|
if (IsPunctuation(textAdapter.LastRevealedCharacter)) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
yield return StartCoroutine(DoWait(currentPunctuationPause)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (currentWritingSpeed > 0f) |
|
|
|
if (currentWritingSpeed > 0f) |
|
|
|
{ |
|
|
|
{ |
|
|
|
timeAccumulator -= invWritingSpeed; |
|
|
|
timeAccumulator -= invWritingSpeed; |
|
|
|