docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum InputField.LineType

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

    Namespace: UnityEngine.UI
    Assembly: UnityEngine.UI.dll
    Syntax
    public enum InputField.LineType

    Fields

    Name Description
    MultiLineNewline

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

    MultiLineSubmit

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

    SingleLine

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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)