文档

Unity Engine


User Manual

Script Reference

Unity Engine


titleContent

The GUIContent used for drawing the title of EditorWindows.
阅读时间1 分钟最后更新于 22 天前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public GUIContent titleContent { get; set; }

Remarks

The icon of
titleContent
will be shown as the tab icon when the window is docked. It is recommended to set it in OnEnable (and not in the constructor) if an icon is used.