C# Class UnityEngine.TouchScreenKeyboard

Interface into the native iPhone, Android, Windows Phone and Windows Store Apps on-screen keyboards - it is not available on other platforms.

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Open ( string text, [ keyboardType, [ autocorrection, [ multiline, [ secure, [ alert, [ textPlaceholder ) : TouchScreenKeyboard

Opens the native keyboard provided by OS on the screen.

TouchScreenKeyboard ( string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder ) : System

Private Methods

Method Description
Destroy ( ) : void
INTERNAL_get_area ( Rect &value ) : void
Open ( string text ) : TouchScreenKeyboard
Open ( string text, TouchScreenKeyboardType keyboardType ) : TouchScreenKeyboard
Open ( string text, TouchScreenKeyboardType keyboardType, bool autocorrection ) : TouchScreenKeyboard
Open ( string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline ) : TouchScreenKeyboard
Open ( string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure ) : TouchScreenKeyboard
Open ( string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure, bool alert ) : TouchScreenKeyboard
TouchScreenKeyboard_InternalConstructorHelper ( TouchScreenKeyboard_InternalConstructorHelperArguments &arguments, string text, string textPlaceholder ) : void

Method Details

Open() public static method

Opens the native keyboard provided by OS on the screen.

public static Open ( string text, [ keyboardType, [ autocorrection, [ multiline, [ secure, [ alert, [ textPlaceholder ) : TouchScreenKeyboard
text string Text to edit.
keyboardType [ Type of keyboard (eg, any text, numbers only, etc).
autocorrection [ Is autocorrection applied?
multiline [ Can more than one line of text be entered?
secure [ Is the text masked (for passwords, etc)?
alert [ Is the keyboard opened in alert mode?
textPlaceholder [ Text to be used if no other text is present.
return TouchScreenKeyboard

TouchScreenKeyboard() public method

public TouchScreenKeyboard ( string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder ) : System
text string
keyboardType TouchScreenKeyboardType
autocorrection bool
multiline bool
secure bool
alert bool
textPlaceholder string
return System