HeaderAttribute(string)
Add a header above some fields in the Inspector.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public HeaderAttribute(string header)
Parameters
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.