Method DrawSectionHeader
DrawSectionHeader(GUIContent, string, Action<Vector2>, Func<bool>, Action)
Draw a header section like in Global Settings
Declaration
public static void DrawSectionHeader(GUIContent title, string documentationURL = null, Action<Vector2> contextAction = null, Func<bool> hasMoreOptions = null, Action toggleMoreOptions = null)
Parameters
Type | Name | Description |
---|---|---|
GUIContent | title | The title of the header |
string | documentationURL | Documentation URL |
Action<Vector2> | contextAction | The context action |
Func<bool> | hasMoreOptions | Delegate saying if we have MoreOptions |
Action | toggleMoreOptions | Callback called when the MoreOptions is toggled |