List box controls allow you to add a list of items to your GUI. This could
be useful for doing a custom save/load dialog box, allowing the user to
choose between various options, and so forth.
You use the ListBox script functions to manipulate the list box - for
example, ListBox.AddItem to add an item, or ListBox.SelectedIndex to get the current
selection.
The OnSelectionChanged event is fired when the player clicks on an item in the list.
You may wish to ignore this or to do something useful with it.
|