MenuListItemCog

TOCK by NullSave\UI Cog\Scripts\Menu\MenuListItemCog.cs

Inherits: MenuItemCog

Description

Menu item used for selecting from a list of options.

Inherited properties and methods can be found here.

Properties

Options List of available options.
Selected Index Index of item selected at start.
Auto Wrap When true allows user to scroll through list and loop back.
Save to Location Defines where the user's selection should be saved to.
Option Text Text element to display current option value.
Left Arrow Image indicating choices to left.
Right Arrow Image indicating choices to right.
Option Text (Normal) Color to apply to option text element when item is enabled but not selected.
Option Text (Selected) Color to apply to option text element when item is selected.
Option Text (Disabled) Color to apply to option text element when item is disabled.
onSelectionChanged Raised when the selected value changes.