CreateHeader Method

CreateHeader(Int32, SerializedObject, InspectorElement)

Override this method in a child class to customize inspector headers as a whole.

Declaration
protected virtual VisualElement CreateHeader(int itemIndex, SerializedObject serializedObject, InspectorElement inspector)
Parameters
Int32 itemIndex

The index in the list

SerializedObject serializedObject

The inspected object

InspectorElement inspector

The inspector element under the header.

Returns
VisualElement

The created header.