public static int StopAndReset(IntPtr l)
    {
        int result;

        try
        {
            UISpriteAnimation uISpriteAnimation = (UISpriteAnimation)LuaObject.checkSelf(l);
            uISpriteAnimation.StopAndReset();
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }