Method AddSection
AddSection(Action<MenuSection>)
Add a Section to the current menu.
Declaration
public MenuBuilder AddSection(Action<MenuSection> bindSectionFunc = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<MenuSection> | bindSectionFunc | A callback to bind the section. |
Returns
| Type | Description |
|---|---|
| MenuBuilder | The MenuBuilder instance. |