Example #1
0
    public PUGridLayoutGroup(
        Vector2 cellSize,
        Vector2 spacing,
        PlanetUnity2.GridLayoutStartCorner startCorner,
        PlanetUnity2.GridLayoutStartAxis startAxis,
        PlanetUnity2.GridLayoutChildAlignment childAlignment,
        int fixedRows,
        int fixedColumns) : this()
    {
        this.cellSize = cellSize;

        this.spacing = spacing;

        this.startCorner = startCorner;

        this.startAxis = startAxis;

        this.childAlignment = childAlignment;

        this.fixedRows = fixedRows;

        this.fixedColumns = fixedColumns;
    }
Example #2
0
    public PUGridLayoutGroup(
        Vector2 cellSize,
        Vector2 spacing,
        PlanetUnity2.GridLayoutStartCorner startCorner,
        PlanetUnity2.GridLayoutStartAxis startAxis,
        PlanetUnity2.GridLayoutChildAlignment childAlignment,
        int fixedRows,
        int fixedColumns,
        Vector4 bounds,
        Vector3 position,
        Vector2 size,
        Vector3 rotation,
        Vector3 scale,
        Vector2 pivot,
        string anchor,
        bool active,
        bool rectMask2D,
        bool mask,
        bool showMaskGraphic,
        Vector4 maskInset,
        bool outline,
        float lastY,
        float lastX,
        string shader,
        bool ignoreMouse,
        string components,
        string title,
        string tag,
        string tag1,
        string tag2,
        string tag3,
        string tag4,
        string tag5,
        string tag6) : this()
    {
        this.cellSize = cellSize;

        this.spacing = spacing;

        this.startCorner = startCorner;

        this.startAxis = startAxis;

        this.childAlignment = childAlignment;

        this.fixedRows = fixedRows;

        this.fixedColumns = fixedColumns;

        this.bounds = bounds;

        this.position = position;

        this.size = size;

        this.rotation = rotation;

        this.scale = scale;

        this.pivot = pivot;

        this.anchor = anchor;

        this.active = active;

        this.rectMask2D = rectMask2D;

        this.mask = mask;

        this.showMaskGraphic = showMaskGraphic;

        this.maskInset = maskInset;

        this.outline = outline;

        this.lastY = lastY;

        this.lastX = lastX;

        this.shader = shader;

        this.ignoreMouse = ignoreMouse;

        this.components = components;

        this.title = title;

        this.tag = tag;

        this.tag1 = tag1;

        this.tag2 = tag2;

        this.tag3 = tag3;

        this.tag4 = tag4;

        this.tag5 = tag5;

        this.tag6 = tag6;
    }