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