- Home /
Gui Login With Interface
Me and some of my friends have been workings on a game for sometime know and know all we want to do is set up a gui login menu... we already have a game done and such and none of us never worked with the gui part of unity free... I dont know where do start and need some help... We basically wanted a line down the middle and on the left was a picture and on the right is 2 labels (username + password) 2 textboxes (for username + password) and 1 button (login button) and this is all we need but it would really help if you could teach me or redirect me to a website or tutorial on how to make it retrieve data... I apologize for anything spelled wrong and i didnt search unity i just left because i am busy...
Answer by Julian-Glenn · Sep 16, 2010 at 01:16 AM
Start here and either click the text links (like UnityGUI Basics) or use the Next buttons to navigate.
http://unity3d.com/support/documentation/Components/GUI%20Scripting%20Guide.html
It's all there.
Here's some You Tube UnityGUI vids: http://www.youtube.com/watch?v=JEMdbT7HWqw
And for the actual login data handling you'll prolly want to use WWWForm along with your favorite server-side scripting language PHP/ASP/JSP/PERL etc..
http://unity3d.com/support/documentation/ScriptReference/WWWForm.html
Of course if security isn't a concern you can always save information in PlayerPrefs:
http://unity3d.com/support/documentation/ScriptReference/PlayerPrefs.html