ArrayPropertyField Constructor
ArrayPropertyField(SerializedProperty, Func<Int32, VisualElement>)
Constructor. It receives a array/list SerializedProperty and an optional makeItem delegate. It still needs to be bound to work properly.
Declaration
public ArrayPropertyField(SerializedProperty arrayProp, Func<int, VisualElement> makeItem = null)
Parameters
SerializedProperty | arrayProp | A SerializedProperty that points to an array or a list |
Func<Int32, VisualElement> | makeItem | Optional callback to make custom list items. It receives the item's index as a parameter. |