static int OnDrag(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UIInputFieldSubmit obj = (UIInputFieldSubmit)ToLua.CheckObject(L, 1, typeof(UIInputFieldSubmit)); UnityEngine.EventSystems.PointerEventData arg0 = (UnityEngine.EventSystems.PointerEventData)ToLua.CheckObject(L, 2, typeof(UnityEngine.EventSystems.PointerEventData)); obj.OnDrag(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ScreenToLocal(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UIInputFieldSubmit obj = (UIInputFieldSubmit)ToLua.CheckObject(L, 1, typeof(UIInputFieldSubmit)); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); UnityEngine.Vector2 o = obj.ScreenToLocal(arg0); ToLua.Push(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_wasCanceled(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; bool ret = obj.wasCanceled; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index wasCanceled on a nil value" : e.Message)); } }
static int get_asteriskChar(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; char ret = obj.asteriskChar; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index asteriskChar on a nil value" : e.Message)); } }
static int set_characterValidation(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UIInputFieldSubmit.CharacterValidation arg0 = (UIInputFieldSubmit.CharacterValidation)ToLua.CheckObject(L, 2, typeof(UIInputFieldSubmit.CharacterValidation)); obj.characterValidation = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index characterValidation on a nil value" : e.Message)); } }
static int set_selectionColor(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.Color arg0 = ToLua.ToColor(L, 2); obj.selectionColor = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectionColor on a nil value" : e.Message)); } }
static int set_textComponent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.UI.Text arg0 = (UnityEngine.UI.Text)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.UI.Text)); obj.textComponent = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index textComponent on a nil value" : e.Message)); } }
static int set_caretBlinkRate(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.caretBlinkRate = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index caretBlinkRate on a nil value" : e.Message)); } }
static int set_shouldHideMobileInput(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.shouldHideMobileInput = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index shouldHideMobileInput on a nil value" : e.Message)); } }
static int get_caretBlinkRate(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; float ret = obj.caretBlinkRate; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index caretBlinkRate on a nil value" : e.Message)); } }
static int get_text(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; string ret = obj.text; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index text on a nil value" : e.Message)); } }
static int get_uiMod(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UIMod ret = obj.uiMod; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index uiMod on a nil value" : e.Message)); } }
static int set_selectionFocusPosition(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.selectionFocusPosition = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectionFocusPosition on a nil value" : e.Message)); } }
static int set_asteriskChar(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; char arg0 = (char)LuaDLL.luaL_checknumber(L, 2); obj.asteriskChar = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index asteriskChar on a nil value" : e.Message)); } }
static int get_selectionFocusPosition(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; int ret = obj.selectionFocusPosition; LuaDLL.lua_pushinteger(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index selectionFocusPosition on a nil value" : e.Message)); } }
static int set_uiMod(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UIMod arg0 = (UIMod)ToLua.CheckUnityObject(L, 2, typeof(UIMod)); obj.uiMod = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index uiMod on a nil value" : e.Message)); } }
static int get_textComponent(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.UI.Text ret = obj.textComponent; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index textComponent on a nil value" : e.Message)); } }
static int set_text(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; string arg0 = ToLua.CheckString(L, 2); obj.text = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index text on a nil value" : e.Message)); } }
static int get_placeholder(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.UI.Graphic ret = obj.placeholder; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index placeholder on a nil value" : e.Message)); } }
static int get_onValueChange(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UIInputFieldSubmit.OnChangeEvent ret = obj.onValueChange; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onValueChange on a nil value" : e.Message)); } }
static int get_keyboardType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.TouchScreenKeyboardType ret = obj.keyboardType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index keyboardType on a nil value" : e.Message)); } }
static int set_placeholder(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.UI.Graphic arg0 = (UnityEngine.UI.Graphic)ToLua.CheckUnityObject(L, 2, typeof(UnityEngine.UI.Graphic)); obj.placeholder = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index placeholder on a nil value" : e.Message)); } }
static int get_characterValidation(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UIInputFieldSubmit.CharacterValidation ret = obj.characterValidation; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index characterValidation on a nil value" : e.Message)); } }
static int set_onEndEdit(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UIInputFieldSubmit.SubmitEvent arg0 = (UIInputFieldSubmit.SubmitEvent)ToLua.CheckObject(L, 2, typeof(UIInputFieldSubmit.SubmitEvent)); obj.onEndEdit = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onEndEdit on a nil value" : e.Message)); } }
static int set_keyboardType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIInputFieldSubmit obj = (UIInputFieldSubmit)o; UnityEngine.TouchScreenKeyboardType arg0 = (UnityEngine.TouchScreenKeyboardType)ToLua.CheckObject(L, 2, typeof(UnityEngine.TouchScreenKeyboardType)); obj.keyboardType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index keyboardType on a nil value" : e.Message)); } }