static int Dispose(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); ScrollRectInput obj = (ScrollRectInput)ToLua.CheckObject(L, 1, typeof(ScrollRectInput)); obj.Dispose(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Init(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); ScrollRectInput obj = (ScrollRectInput)ToLua.CheckObject(L, 1, typeof(ScrollRectInput)); string arg0 = ToLua.CheckString(L, 2); obj.Init(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_m_UIEventKey(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ScrollRectInput obj = (ScrollRectInput)o; string arg0 = ToLua.CheckString(L, 2); obj.m_UIEventKey = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_UIEventKey on a nil value" : e.Message)); } }
static int get_m_UIEventKey(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); ScrollRectInput obj = (ScrollRectInput)o; string ret = obj.m_UIEventKey; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_UIEventKey on a nil value" : e.Message)); } }