ReorderableListGUI.TextFieldItemDrawer Method

Rotorz ReorderableList

ReorderableListGUITextFieldItemDrawer Method
Draws text field allowing list items to be edited.

Namespace: Rotorz.ReorderableList
Assembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntax
public static string TextFieldItemDrawer(
	Rect position,
	string item
)
public static function TextFieldItemDrawer(
	position : Rect,
	item : String
) : String

Parameters

position
Type: Rect
Position to draw list item control(s).
item
Type: SystemString
Value of list item.

Return Value

Type: String
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.

See Also