- Home /
A name For the Character Please Help
i am making a multiplayer fps and i was wondering how can i get the user to enter a name/nickname for themselves? Thanks in advance
Answer by celadon · Feb 14, 2011 at 07:24 AM
Try GUI.TextField - in the manual
Oh yeah but would you know how i could save what they wrote?
Answer by Unamine · Feb 14, 2011 at 11:25 AM
There is a video of the Zerg Arcade Burg teaches that to do this and also a full tutorial for an RPG.
check out:
http://www.burgzergarcade.com/hack-slash-rpg-unity3d-game-engine-tutorial
Thanks $$anonymous$$ate! This Helped alot
Answer by Unamine · Feb 15, 2011 at 12:05 AM
Nothing, and on the other question asked, you can use PlayerPref to save the user name of the player, look in your manual offline or online and search for google, PlayerPrefs variables saved in the user record, then you can load except the name. You can see videos of Zerg Arcade Burg, who teaches him to do what you want, and you will better understand (it uses the C # language).
Link to the online manual:
http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html
See the videos:
- Unity3D Tutorial - PlayerPrefs 1 / x
- Unity3D Tutorial - PlayerPrefs 2 / x
- Unity3D Tutorial - PlayerPrefs 3 / x
- Unity3D Tutorial - PlayerPrefs 4 / x
- Unity3D Tutorial - PlayerPrefs 5 / x
- Unity3D Tutorial - PlayerPrefs 6 / x
Link for videos:
http://www.burgzergarcade.com/hack-slash-rpg-unity3d-game-engine-tutorial
Hope this helps again