◆ SimpleListFieldLayout< T >()

static List<T> SimpleListFieldLayout< T > ( GUIContent  label,
List< T >  listToDisplay,
DrawListItemDelegate  drawListItemFunction = null,
defaultNewValue = default(T),
bool  numberElements = true 
)
static
Template Parameters
TType of the elements contains in the list to be displayed
Parameters
labellabel to draw with the list
listToDisplayinstance of a list containing items of type T
drawListItemFunctionDelegate reference the function that will be used to draw each object of type T.
defaultNewValueInitial value assigned to new list items, added by the user.
numberElementsSpecifies if numbers should be drawn next to each element indicating it's position in the list. Optional, default is true.
Returns
the original list is modified based upon user selected size along with, potentially, content of each element.

References EditorUtil.DrawObjectDefaultLayout< T >().

+ Here is the call graph for this function: