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!
Viewing post in Unity UI Text Typewriter Script C# comments
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.