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.)
Hey, when you say broken, what part of the functionality breaks? The whole thing? Also, what modifications did you make? It'll help me figure out the issue :)
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 :
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.
From your description it sounds like the first co-routine isn't ending before the new one starts, so it's running them simultaneously. But you're welcome to send me you're script, so I can take a better look