static int LateUpdate(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); NTGLuaScriptExt obj = (NTGLuaScriptExt)ToLua.CheckObject(L, 1, typeof(NTGLuaScriptExt)); obj.LateUpdate(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int get_eventFixedUpdate(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); NTGLuaScriptExt obj = (NTGLuaScriptExt)o; bool ret = obj.eventFixedUpdate; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index eventFixedUpdate on a nil value" : e.Message)); } }
static int set_eventOnTriggerStay(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); NTGLuaScriptExt obj = (NTGLuaScriptExt)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.eventOnTriggerStay = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index eventOnTriggerStay on a nil value" : e.Message)); } }