static public int SetOnUpdate(IntPtr l) { try { UITweener self = (UITweener)checkSelf(l); UITweener.onLuaFuncDelegate a1; LuaDelegation.checkDelegate(l, 2, out a1); self.SetOnUpdate(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }