Author Topic: UIInput and multiple lines  (Read 1818 times)

bdominguez

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
UIInput and multiple lines
« on: July 26, 2012, 07:44:50 AM »
I have a problem with the UIInput class. I can't make a "textarea", I mean, I can't make an input for more than one line.

In your script you detect a new line character and you send an "OnSubmit" message by default to the input gameObject. It's fine when it's a textfield but If you want a textarea you can't append that character to the label.

I don't understand why you don't make the choice with some checkbox.

Also If you don't want to do this little improvements you could make your components extendables.

Thanks!