Exemple #1
0
    public static int SetChildPositionOffset(IntPtr l)
    {
        int result;

        try
        {
            UIWrapContent uIWrapContent = (UIWrapContent)LuaObject.checkSelf(l);
            int           offset;
            LuaObject.checkType(l, 2, out offset);
            bool bUpdate;
            LuaObject.checkType(l, 3, out bUpdate);
            uIWrapContent.SetChildPositionOffset(offset, bUpdate);
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }