static int get_lineType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); TMPro.TMP_InputField obj = (TMPro.TMP_InputField)o; TMPro.TMP_InputField.LineType ret = obj.lineType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lineType on a nil value" : e.Message)); } }
static int set_lineType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); TMPro.TMP_InputField obj = (TMPro.TMP_InputField)o; TMPro.TMP_InputField.LineType arg0 = (TMPro.TMP_InputField.LineType)ToLua.CheckObject(L, 2, typeof(TMPro.TMP_InputField.LineType)); obj.lineType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index lineType on a nil value" : e.Message)); } }