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.

TextAreaAttribute Constructor

public TextAreaAttribute();
public TextAreaAttribute(int minLines, int maxLines);

Parameters

minLinesThe minimum amount of lines the text area will use.
maxLinesThe maximum amount of lines the text area can show before it starts using a scrollbar.

Description

Attribute to make a string be edited with a height-flexible and scrollable text area.