Click or drag to resize
EditorGUIUtilsListField Method (Boolean, GUIContent, IList, FuncInt32, IList, FuncObject, Int32, Object, IList)
Draws an inspector for modifying the specified list.

Namespace: Slash.Unity.Editor.Common.Inspectors.Utils
Assembly: Slash.Unity.Editor.Common (in Slash.Unity.Editor.Common.dll) Version: 0.0.0.0
Syntax
public static bool ListField(
	bool foldout,
	GUIContent foldoutText,
	IList list,
	Func<int, IList> createList,
	Func<Object, int, Object> editItem,
	out IList newList
)

Parameters

foldout
Type: SystemBoolean
Whether to show all list entries, or not.
foldoutText
Type: GUIContent
Text to show next to the list editor.
list
Type: System.CollectionsIList
List to draw the inspector for.
createList
Type: SystemFuncInt32, IList
Method for creating a new list if the size should be changed.
editItem
Type: SystemFuncObject, Int32, Object
Method for changing a specific list item.
newList
Type: System.CollectionsIList
Modified list.

Return Value

Type: Boolean
Whether to show all list entries now, or not.
See Also