public static int StopAnimation(IntPtr l) { int result; try { UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l); int trackIndex; LuaObject.checkType(l, 2, out trackIndex); uispineGraphic.StopAnimation(trackIndex); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }