static int DoKeyNavigate(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.Stage obj = (FairyGUI.Stage)ToLua.CheckObject <FairyGUI.Stage>(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.DoKeyNavigate(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }