Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TextAreaAttribute

Attribute to make a string be edited with a height-flexible and scrollable text area.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

TextAreaAttribute()

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

TextAreaAttribute(int, int)

Attribute to make a string be edited with a height-flexible and scrollable text area.
public TextAreaAttribute(int minLines, int maxLines)

Parameters

minLines

The minimum amount of lines the text area will use.

maxLines

The maximum amount of lines the text area can show before it starts using a scrollbar.