The List Button control is identical to a
List Item control, except that it is not selectable and therefore behaves exactly as a button would. One common use of list buttons is to store them in prefab form and then instantiate them at runtime to populate a
Scroll List. There are two main approaches you can take to using a List Button:
- Create a separate list button with a unique texture for each list button you wish to display, or
- Use a single base List Button and then represent different options by using a TextMesh (3D Text) to display unique text on each button instance.
NOTE: If you want to nest multiple sub-controls, sprites, or text inside your list item, it is recommended instead to use a
UIListItemContainer which is capable of clipping sub-controls to the viewable area of the scroll list.