IOSTextField

This script provides emulation of a GUI.TextField but allows specialized keyboards. It is also configured to work in non-iOS code with standard GUI.TextFields. A few basic configurations are provided as well a fully configurable base function.

Usage
The functions are used in a similar fashion to the GUI methods, with the exception that they need to maintain state, where the Unity immediate mode UI is generally stateless. This is where the fieldID comes in. If you have more than one of these text fields in an OnGUI, you should give each a positive unique identifier (much like the window ID in GUI.Window)


 * InputField - the basic army knife function, allows you to specify the iPhoneKeyboardType as well as if you want a password field or enable/disable autocorrect.


 * PWField - hidden text in both the keyboard and field text


 * EMailField - uses the email keyboard and doesn't try to autocorrect


 * NameField - disables autocorrect