ReorderableListGUITextFieldItemDrawer Method |
Draws text field allowing list items to be edited.
Namespace: Rotorz.ReorderableListAssembly: Editor.ReorderableList (in Editor.ReorderableList.dll) Version: 0.0.0.0 (0.3.0.0)
Syntaxpublic 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.
RemarksNull 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