- Home /
Im trying to make a C# program that outputs text on the screen like a typewriter. How would I do this?
I want to make the program enter the text one character at a time. I know there are tons of Js tutorials on it but i cant seem to find a C# script. Is it even possible? and if its not possible my whole project is going to be in C# is there a way to call the javascript function in a C# script to output text on a GUI?
JavaScript / C# are almost the same syntax, just use the script reference to convert it manually, in the meanwhile you'll get a little understanding of what's going on.
Answer by ejpaari · Feb 04, 2014 at 08:12 AM
There are probably many ways to do that but here is one http://pastebin.com/6JW95NB6 (if I understood correctly what you are looking for).
alright so that worked great! There is still a cursor there at the end that implies that the user can enter text but the text is uneditable. is there a way to remove the cursor?
Do you mean the cursor or tabulator? To remove the tabulator you could use GUI.Label ins$$anonymous$$d of TextArea. To remove the cursor use Screen.showCursor = false;
Your answer
