GetPauseDurationsInsideLine(Markup.MarkupParseResult)
Last updated
Last updated
Method in LineView
Creates a stack of typewriter pauses to use to temporarily halt the typewriter effect.
This is intended to be used in conjunction with the PausableTypewriter(TextMeshProUGUI,float,Action,Action,Action,Stack<(int position, float duration)>,CoroutineInterruptToken) effect. The stack of tuples created are how the typewriter effect knows when, and for how long, to halt the effect.
The pause duration property is in milliseconds but all the effects code assumes seconds So here we will be dividing it by 1000 to make sure they interconnect correctly.
line
The line from which we covet the pauses
A stack of positions and duration pause tuples from within the line