docs.unity.cn
    Show / Hide Table of Contents

    Enum InputField.LineType

    The LineType is used to describe the behavior of the InputField.

    Namespace: UnityEngine.UI
    Syntax
    public enum LineType

    Fields

    Name Description Value
    SingleLine

    Only allows 1 line to be entered. Has horizontal scrolling and no word wrap. Pressing enter will submit the InputField.


    0
    MultiLineSubmit

    Is a multiline InputField with vertical scrolling and overflow. Pressing the return key will submit.


    1
    MultiLineNewline

    Is a multiline InputField with vertical scrolling and overflow. Pressing the return key will insert a new line character.


    2
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023