- Home /
Name GUI input help in C#
So far I have a scene where you press enter to go to the menu.
Then at the menu you click on 'New Game'.
My problem is that I want to be able to type in a name for the hero in C# but I don't know how to do that.
For example, after someone clicks on 'New Game' they should see:
"Please type the name of your hero here." And then below that should be a space where the player can type their name or any name.
How do I do that in C#? Any help is truly appreciated.
Have you tried looking here?
http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html
If you haven't then read each section, it should mention text fields which pretty much answers your question.
The title of this question is misleading. namespace
in C# is something else.
Never$$anonymous$$d. But maybe you should rename the title and remove the tag 'namespace'.
Your answer
Follow this Question
Related Questions
Error the type or namespace name 1 Answer
Multiple Cars not working 1 Answer
Type or namespace 'CharacterMotor' cannot be found 1 Answer
Distribute terrain in zones 3 Answers