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