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