static public int OnUpdateSource(IntPtr l) { try { FairyGUI.UIPainter self = (FairyGUI.UIPainter)checkSelf(l); System.Object[] a1; checkArray(l, 2, out a1); self.OnUpdateSource(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int OnUpdateSource(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.UIPainter obj = (FairyGUI.UIPainter)ToLua.CheckObject(L, 1, typeof(FairyGUI.UIPainter)); object[] arg0 = ToLua.CheckObjectArray(L, 2); obj.OnUpdateSource(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }