Version: 2023.2

HeaderAttributeConstructor

切换到手册
public HeaderAttribute (string header);

参数

header 标题文本。

描述

在 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.