기술 자료

Unity Engine

Unity Engine

HeaderAttribute(string)

Add a header above some fields in the Inspector.
읽는 시간 1분최근 업데이트: 한 달 전

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.