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.


Did you find this page useful? Please give it a rating: