Author Topic: Sorry i am a noob! How do I make a log in field to accept a username and passwor  (Read 2965 times)

Sandsnake

  • Guest
TBH, I have no idea how to do this, As I am not following the way to get text from a NGUI input field.
I realise this is a noobish question, but would it be possible to give some example code?

I have a label called input_username and another called input_password
When these two field are submitted, I want the text to be sent to a php server to check the log in. I s this the bet way or is there a better way? Have searched for 12 hours now, again, sorry for the noob question

sisso

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 46
    • View Profile
First you need to know where to search. You question by far is not a ngui question. NGui have documentation and videos how to create the inputs. Communication is a Unity problem, and the server is an php server.

Search in unity3d answers and you probably find something. I have already answers somthing about it (http://answers.unity3d.com/questions/490055/how-do-i-add-login-and-register.html).