Author Topic: ngui input  (Read 3205 times)

java666

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
ngui input
« on: June 02, 2014, 09:56:41 AM »
Been trying for last few days to get the input from the ngui input box to save the username

i have the "name = label.text" and want it to be gotten when u hit enter after you have typed the name in the input box. if i put it in an update function it updates until high scores r filled on click doesn't work and cant find away to get it to work wonder. I've gone over the input stuff now like 3 or 4 times and watch the tutorials like 5 times now.  i am just missing something when i reading or watching the input ngui stuff or something because i don't see how to get it to work.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: ngui input
« Reply #1 on: June 02, 2014, 10:59:52 PM »
UIInput has a "Saved As" field. Give it a value, and that's it. It will be saved automatically.

java666

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: ngui input
« Reply #2 on: June 12, 2014, 03:19:27 PM »
i tried that but somehow couldnt get it linked to the highscore board but i have the input doing what i wanted it too i used OnPress and added my wants it seemed to get it working