コード例 #1
0
    public PUCanvas(
        PlanetUnity2.CanvasRenderMode renderMode,
        bool pixelPerfect,
        float planeDistance) : this()
    {
        this.renderMode = renderMode;

        this.pixelPerfect = pixelPerfect;

        this.planeDistance = planeDistance;
    }
コード例 #2
0
    public PUCanvas(
        PlanetUnity2.CanvasRenderMode renderMode,
        bool pixelPerfect,
        float planeDistance,
        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.renderMode = renderMode;

        this.pixelPerfect = pixelPerfect;

        this.planeDistance = planeDistance;

        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;
    }