UnityEngine.TouchScreenKeyboard.Open C# (CSharp) Method

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
        public static TouchScreenKeyboard Open(string text, [DefaultValue("TouchScreenKeyboardType.Default")] TouchScreenKeyboardType keyboardType, [DefaultValue("true")] bool autocorrection, [DefaultValue("false")] bool multiline, [DefaultValue("false")] bool secure, [DefaultValue("false")] bool alert, [DefaultValue("\"\"")] string textPlaceholder)
        {
            return new TouchScreenKeyboard(text, keyboardType, autocorrection, multiline, secure, alert, textPlaceholder);
        }

Same methods

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

Usage Example

        public static TouchScreenKeyboard Open(string text, TouchScreenKeyboardType keyboardType, bool autocorrection, bool multiline, bool secure, bool alert)
        {
            string textPlaceholder = "";

            return(TouchScreenKeyboard.Open(text, keyboardType, autocorrection, multiline, secure, alert, textPlaceholder));
        }
All Usage Examples Of UnityEngine.TouchScreenKeyboard::Open