I made some modification to your version cause it lacked something.
But I need help, about text typewriter effect, it becomes broken when pausing the current type effect and starting new(even if clearing both output text and input text.)
Viewing post in Unity UI Text Typewriter Script C# comments
i made function that takes string and calls your type writer effect. and also added bool and checked to loop the same text with typewriter effect. and if i add that function i added into button and if i press it "once" everything is fine. but i wanted it to be like some dialogue system in some 2d games(where user could choose to see the full text being showed slowly with TW effect or just skip and new text will override and start the effect again). When i try to pause the current type effect and start new(even if clearing both output text and input text.) it becomes broken and shows text like this :
For eg.
Text 1 : Hello World!
Text 2 : This is simple effect.
But output will be like this(if i try to stop text 1 and start effect on text 2) : HeThliol Wis orlsim..... and so on.
Please help. I could send you the script file if you wanna see the code.
Thank you