Author Topic: [BUG] UInput does not send OnInputChanged on Android / iOS  (Read 2884 times)

bdominguez

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 38
    • View Profile
If you see the UIInput script, it doesn't send "OnInputChanged" message on this platforms.

I had to change on "Update":

  1. if (mText != text) mKeyboard.text = mText;
  2. UpdateLabel();

To this:

  1. if (mText != text) mKeyboard.text = mText;
  2. UpdateLabel();
  3.  
  4. SendMessage("OnInputChanged", this, SendMessageOptions.DontRequireReceiver);

Hope you fix that in the next version.

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [BUG] UInput does not send OnInputChanged on Android / iOS
« Reply #1 on: May 15, 2013, 10:01:05 AM »
Hmm... I'll add it to the repository, thanks!