Unity UI Controls
On your hierarchy view, right click -> UI/Controls/ListBox .
On added ListBox inspector,
- Set your ListBox item strings as String items.
- Set “Selected Index” value, that is an index of initial selectd item index.
- Set callback event “OnSelected”, that is called with the selected string argument when clicking the item