EditorGUILayout.InspectorTitlebar Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUILayout
EditorGUILayout.InspectorTitlebar

static function InspectorTitlebar (foldout : bool, targetObj : Object) : bool

Parameters

NameDescription
foldout The foldout state shown with the arrow.
targetObj The object (for example a component) that the titlebar is for.

Returns

bool - The foldout state selected by the user.

Description

Make an inspector-window-like titlebar.

The titlebar has an arrow for foling out, a help icon, and a settings menu that depends on the type of the object supplied.