The script is meant to create typewriter UI text effect. Just attach the script to the UI GameObject with the Text Component. Once text becomes enabled, the text begins to appear letter by letter.
Features:
An adjustable speed of typewriting.
Adjustable delay before the typewriting begins.
You can specify a certain key button to allow user immediately interrupt a typewriting pressing this button. The text will appear entirely at this moment.
The blinking cursor can be shown at the end of a text line. You can set a symbol for this cursor, the frequency of blinking. Special options enable you to separately turn on cursor before the text begins to appear; and after the text is fully shown (and also set a time in wich cursor finally disappears).
Left-to-right and right-to-left text directions.