文档

Unity Engine

Unity Engine

TextAreaAttribute

Attribute to make a string be edited with a height-flexible and scrollable text area.
阅读时间1 分钟最后更新于 1 个月前

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.