LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

LineType

enumeration

Description

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

Properties

SingleLineOnly allows 1 line to be entered. Has horizontal scrolling and no word wrap. Pressing enter will submit the InputField.
MultiLineSubmitIs a multiline InputField with vertical scrolling and overflow. Pressing the return key will submit.
MultiLineNewlineIs a multiline InputField with vertical scrolling and overflow. Pressing the return key will insert a new line character.