ReadonlycolorTextStyle to give the item a custom color.
Handler called when that option is selected.
true to play the "success" sfx, false for the "error" sfx
Optional ReadonlyiconsOptional configuration to display icon(s) before the label's text.
If multiple icons are given they will be overlayed.
OptionaliconsOptional ReadonlykeepWhether to keep the menu open after this option was selected.
ReadonlylabelText that will be shown in the menu for this option.
Can only be on a single line, can use BBCode.
Optional ReadonlynoWhether to prevent the default menu sound effects from playing.
Optional ReadonlyonOptional handler for when the cursor is moved to that option.
Optional ReadonlyselectableWhether to allow selecting the item
Used internally by
BaseOptionSelectUiHandlerto keep track of whether a menu item has been processed and is ready to be displayed.