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