This version of Unity is unsupported.

HeaderAttribute Constructor

Declaration

public HeaderAttribute(string header);

Parameters

header The header text.

Description

Add a header above some fields in the Inspector.

This header is only displayed when the field is visible in the Inspector. If the field is private or decorated with a HideInInspector attribute, it does not display.