TreeView.DoFoldoutCallback

Switch to Manual
public delegatebool DoFoldoutCallback (Rect position, bool expandedState, GUIStyle style);

Parameters

positionRect to draw the foldout.
expandedStateCurrent foldout state.
styleToggle button style.

Returns

bool Returns true if the foldout is still expanded. Otherwise, returns false.

Description

Callback signature used to override the TreeView foldout. See foldoutOverride.