AsTextArea(int, int)
Configures the input port to use the TextAreaAttribute.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
T AsTextArea(int minLines = 3, int maxLines = 3)
Parameters
Returns
Type | Description |
|---|---|
| T | The current builder instance for method chaining. |
Remarks
Applies only to string input ports. Use this setting to make the port value a Text Area. A Text Area is a multi-line input field that allows users to enter large amounts of text. Its height automatically adjusts between specified minimum and maximum lines, and a scrollbar appears if the content exceeds the visible area.