FairyGUI.Stage.OpenKeyboard C# (CSharp) Method

OpenKeyboard() public method

public OpenKeyboard ( string text, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int keyboardType ) : void
text string
autocorrection bool
multiline bool
secure bool
alert bool
textPlaceholder string
keyboardType int
return void
		public void OpenKeyboard(string text, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int keyboardType)
		{
			if (_keyboard != null)
				_keyboard.Open(text, autocorrection, multiline, secure, alert, textPlaceholder, keyboardType);
		}

Usage Example

示例#1
0
 static int OpenKeyboard(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 8);
         FairyGUI.Stage obj  = (FairyGUI.Stage)ToLua.CheckObject(L, 1, typeof(FairyGUI.Stage));
         string         arg0 = ToLua.CheckString(L, 2);
         bool           arg1 = LuaDLL.luaL_checkboolean(L, 3);
         bool           arg2 = LuaDLL.luaL_checkboolean(L, 4);
         bool           arg3 = LuaDLL.luaL_checkboolean(L, 5);
         bool           arg4 = LuaDLL.luaL_checkboolean(L, 6);
         string         arg5 = ToLua.CheckString(L, 7);
         int            arg6 = (int)LuaDLL.luaL_checknumber(L, 8);
         obj.OpenKeyboard(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }