PresentCharacter(int,TMP_Text,CancellationToken)
Method in TypewriterHandler
Summary
Presents a single character of the line, at the appropriate point in time.
Parameters
Name
Description
int
currentCharacterIndex
The zero-based index of the character being displayed.
TMPro.TMP_Text
text
A TMPro.TMP_Text
object that the line is being displayed in.
System.Threading.CancellationToken
cancellationToken
A cancellation token representing whether the
Returns
A task that completes when the TemporalMarkupHandler has completed presenting this character. Dialogue views will wait until this task is complete before displaying the remainder of the line.
Last updated