public static int HasAnimation(IntPtr l) { int result; try { UISpineGraphic uispineGraphic = (UISpineGraphic)LuaObject.checkSelf(l); string name; LuaObject.checkType(l, 2, out name); bool b = uispineGraphic.HasAnimation(name); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }