static public int RemoveController(IntPtr l) { try { FairyGUI.GComponent self = (FairyGUI.GComponent)checkSelf(l); FairyGUI.Controller a1; checkType(l, 2, out a1); self.RemoveController(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int RemoveController(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GComponent obj = (FairyGUI.GComponent)ToLua.CheckObject(L, 1, typeof(FairyGUI.GComponent)); FairyGUI.Controller arg0 = (FairyGUI.Controller)ToLua.CheckObject(L, 2, typeof(FairyGUI.Controller)); obj.RemoveController(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }