Click or drag to resize
EditorGUIUtilsListFieldT Method (Boolean, GUIContent, IList, FuncInt32, 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<T>(
	bool foldout,
	GUIContent foldoutText,
	ref IList list,
	Func<int, IList> createList
)
where T : Object

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.

Type Parameters

T
Type of the list items.

Return Value

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