Hi!
Im currently developing an iOS game (im using Unity Remote and iPad as an input directly in Unity Editor) and Ive got problem with iOS keyboard - its somehow not showing up in Editor... I havent built the game yet...
Code:
var inputText : String = "default";
private var keyboard : iPhoneKeyboard;
function OnGUI()
{
if (GUI.TextField(Rect(Screen.width/2,Screen.height/2, 200, 32), inputText,10))
{
keyboard = iPhoneKeyboard.Open(inputText,iPhoneKeyboardType.Default);
}
if (keyboard)
inputText = keyboard.text;
}
Am i missing something in code?
You are the man
– dato818