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