コード例 #1
0
    public PUInputField(
        string onValueChanged,
        string placeholder,
        int limit,
        PlanetUnity2.InputFieldContentType contentType,
        PlanetUnity2.InputFieldLineType lineType,
        Color selectionColor,
        string value) : this()
    {
        this.onValueChanged = onValueChanged;

        this.placeholder = placeholder;

        this.limit = limit;

        this.contentType = contentType;

        this.lineType = lineType;

        this.selectionColor = selectionColor;

        this.value = value;
    }
コード例 #2
0
    public PUInputField(
        string onValueChanged,
        string placeholder,
        int limit,
        PlanetUnity2.InputFieldContentType contentType,
        PlanetUnity2.InputFieldLineType lineType,
        Color selectionColor,
        string font,
        int fontSize,
        PlanetUnity2.FontStyle fontStyle,
        Color fontColor,
        float lineSpacing,
        PlanetUnity2.TextAlignment alignment,
        string value,
        bool sizeToFit,
        int maxFontSize,
        int minFontSize,
        bool vOverflow,
        bool hOverflow,
        string onLinkClick,
        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.onValueChanged = onValueChanged;

        this.placeholder = placeholder;

        this.limit = limit;

        this.contentType = contentType;

        this.lineType = lineType;

        this.selectionColor = selectionColor;

        this.font = font;

        this.fontSize = fontSize;

        this.fontStyle = fontStyle;

        this.fontColor = fontColor;

        this.lineSpacing = lineSpacing;

        this.alignment = alignment;

        this.value = value;

        this.sizeToFit = sizeToFit;

        this.maxFontSize = maxFontSize;

        this.minFontSize = minFontSize;

        this.vOverflow = vOverflow;

        this.hOverflow = hOverflow;

        this.onLinkClick = onLinkClick;

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