Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: selzero on February 22, 2014, 11:52:53 AM
-
Hi Guys,
I apologies if this issue has been tackled elsewhere I have searched for a solution but no luck.
I am using UIInput, it works fine, I am tracking inputs with OnInput, in the editor it works fine, on Android it works fine, but when I put the game onto an actual iOS device the exact same code is not firing the OnInput event. I have debug output at the start of the function and it's just not firing when it is on an iOS device.
I took the "Tutorial 9" example, added a UIInput component and the OnInput event, again, it works on Android, and the Editor, but not on the iOS device.
Is there a work around for this??
-
OnInput is a notification sent by UICamera when Input.inputString changes. I'm guessing Input.inputString doesn't change until you submit the string. TouchScreenKeyboard has the value instead, which is what UIInput uses. UIInput doesn't use OnInput. In fact, thinking about it, I see no reason why I can't remove the OnInput notification since it's not used.