Documentation

Unity Engine

Unity Engine

HeaderAttribute(string)

Add a header above some fields in the Inspector.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public HeaderAttribute(string header)

Parameters

header

The header text.

Remarks

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.