Log in with to leave a comment.

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 :
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

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

(2 edits) (+1)

Here is the script : [LINK REMOVED]
Please try it and give feedback and fixes.

EDIT : I found solution for it and fixed it. I also created my own typewriter effect. Thanks to your script to help me understand the effect.


I like your script easy and cool thanks. :)

Glad you found it useful! :)


I used this script on my Load Screens for my game, if you wanna check! :D

Game link:

Many Thanks!

Awesome! Glad you found it useful :)


Hi, thanks for this. Very handy. How can I make it change the text line everytime I press a button? Let's say I'm using it for dialogues with NPC's. Thank you!

Thanks! I've updated the script to allow for new string updates. Attach the UpdateText() function to a button, feed in the new string you want to type out (NPC dialogue for example) and then whenever the button is clicked, it will type out the new text. I've also updated the example project if you want to get a better idea of how it works.