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