playMaker

Author Topic: Override text field input control  (Read 1837 times)

Mr-Brett

  • Playmaker Newbie
  • *
  • Posts: 22
  • Not very technical Artist
    • Portfolio
Override text field input control
« on: January 01, 2015, 05:59:14 PM »
Well it's been a while but I'm back :)

So my problem is that I have a text field and I want to override the text field input control for pressing enter/return. I want that key to submit the text field but by default it goes to line two instead, since the text field takes control of all keyboard input I can't see a way around it in playmaker. Well a way that does what I want at the moment I have worked around it by using a button to click for submitting but it's not a good solution for what I want.

There are code solutions to the issue but I use playmaker because my coding skills are almost non-existent :)
http://forum.unity3d.com/threads/gui-textfield-submission-via-return-key.69361/
http://answers.unity3d.com/questions/41841/how-can-i-determine-when-user-presses-enter-in-an.html

As always, any and all help is much appreciated.
« Last Edit: January 02, 2015, 05:34:14 AM by Mr-Brett »

Mr-Brett

  • Playmaker Newbie
  • *
  • Posts: 22
  • Not very technical Artist
    • Portfolio
Re: Override text field input control
« Reply #1 on: January 02, 2015, 01:30:00 PM »
Thanks everyone that had a look. A friend pointed me in the direction of the new uGUI system and I'm making progress using that so while there wasn't a solution it's working out ok :)