1
NGUI 3 Support / Re: Blackberry UIInput Bug
« on: July 09, 2014, 08:43:25 PM »
Haha oh so I get to dive right into that mess. Goody. Anyway, the version of NGUI I'm on is 3.5.9 and UIInput.cs line 670 is outside the scope of Update().
So I got it to work. I had to add a check to exclude Blackberry in this section of Update():
Also I don't know if it has anything to do with this problem, but the mobile keyboard on BB10 doesn't have the extra bar on the top with a text preview and "Done"/"Cancel" buttons. I don't know if that's just Unity or BB10 not supporting it, but it's something I noticed.
So I got it to work. I had to add a check to exclude Blackberry in this section of Update():
- string text = mKeyboard.text;
- if (TouchScreenKeyboard.hideInput)
- {
- if (text != "|")
- {
- if (Application.platform != RuntimePlatform.BlackBerryPlayer) {
- if (!string.IsNullOrEmpty(text))
- {
- Insert(text.Substring(1));
- }
- else DoBackspace();
- mKeyboard.text = "|";
- }
- }
- }
Also I don't know if it has anything to do with this problem, but the mobile keyboard on BB10 doesn't have the extra bar on the top with a text preview and "Done"/"Cancel" buttons. I don't know if that's just Unity or BB10 not supporting it, but it's something I noticed.