Пример #1
0
    public string GetInputText(ref KEYBOARD_INFO info)
    {
        info.insert = insert;
#if UNITY_IPHONE || UNITY_ANDROID
        info.type        = type;
        info.autoCorrect = autoCorrect;
        info.multiline   = false;
        info.secure      = secure;
        info.alert       = alert;
#endif
        // Show our caret
        ShowCaret();

        return(text);
    }
Пример #2
0
 public string GetInputText(ref KEYBOARD_INFO info)
 {
     info.insert    = this.insert;
     info.maxLength = this.maxLength;
     if (TsPlatform.IsMobile)
     {
         info.type        = this.type;
         info.autoCorrect = this.autoCorrect;
         info.multiline   = this.multiline;
         info.secure      = this.password;
         info.alert       = this.alert;
     }
     this.ShowCaret();
     return(this.text);
 }
Пример #3
0
    public string GetInputText(ref KEYBOARD_INFO info)
    {
        info.insert = insert;
#if UNITY_IPHONE || UNITY_ANDROID || UNITY_WP8 || UNITY_BLACKBERRY
        info.type        = type;
        info.autoCorrect = autoCorrect;
        info.multiline   = multiline;
        info.secure      = password;
        info.alert       = alert;
        info.hideInput   = hideInput;
#endif
        // Show our caret
        ShowCaret();

        return(text);
    }
	public string GetInputText(ref KEYBOARD_INFO info)
	{
		info.insert = insert;
#if UNITY_IPHONE || UNITY_ANDROID
		info.type = type;
		info.autoCorrect = autoCorrect;
		info.multiline = multiline;
		info.secure = password;
		info.alert = alert;
		info.hideInput = hideInput;
#endif
		// Show our caret
		ShowCaret();

		return text;
	}
Пример #5
0
	public string GetInputText(ref KEYBOARD_INFO info)
	{
		info.insert = insert;
#if UNITY_IPHONE
		info.type = type;
		info.autoCorrect = autoCorrect;
		info.multiline = false;
		info.secure = secure;
		info.alert = alert;
#endif
		// Show our caret
		ShowCaret();

		return text;
	}