2D Toolkit Forum
2D Toolkit => Support => Topic started by: ThomasVandenberghe on June 27, 2014, 08:21:27 am
-
Hello,
This is currently my code, which saves the nickname and it works on my pc. But when I run it on device, it never gets called.
usernameTxi.OnTextChange = obj => {
PlayerPrefs.SetString("savedNickname", obj.Text);
};
I've went into the cs file and apparently the string inputStr = Input.inputString (line 278) returns ""
And would it be possible to add an option to set TouchScreenKeyboard.hideInput = false; because currently this is fixed in the source code. Is this done for a specific reason?
-
Hi,
Input.inputString returns null all the time? If it did, I wouldn't expect anything to work there... does the text input work properly on device? It could also be that some thing has changed in Unity since the time this was written...
-
I'm having the exact same problem. The issue is that the "OnTextChange" event is never triggered on iOS. Any solution for this?
-
Try this - http://2dtoolkit.com/forum/index.php/topic,3637.msg18746.html#msg18746