Reorderable List Control for Unity
- Namespaces
- Rotorz.ReorderableList
- ReorderableListGUI
- TextFieldItemDrawer(Rect, String)
TextFieldItemDrawer Method (position, item)
Draws text field allowing list items to be edited.
public static string TextFieldItemDrawer( Rect position, string item )
Parameters
- position (Rect)
- Position to draw list item control(s).
- item (String)
- Value of list item.
Return Value
Modified value of list item.Remarks
Null values are automatically changed to empty strings since null values cannot be edited using a text field.
Value of GUI.changed is set to true if value of item is modified.