Gallery list facilitates populating gallery items easily through Card List Manager component. We only need to manage the Item Template to change the style or bind actions for the gallery items.
On Card List Manager, you can put the title, subtitle, image and description of the list item. You can also reorder the list by dragging the item inside the list.
If you want to dynamic populate list items through scripts. Please checkout the example script in Demo/ExampleDynamicCardList.cs
On Card List Manager, double click List Content, it will locate to the Content Object.
On the Content Object > Grid Layout Group, you can change the cell size.
Locate to the Item Template game object, you can then change Image and title size .
You can simply add a OnClick actions on Item Template.
Or you can subscribe to the OnCardClick
method, please refer to the ExampleCardItemAction.cs
script which is also attached on the ItemTemplate in the Demo scene.
ExampleCardItemAction.cs: Click on item and show details on the right panel
ExampleCardItemAction.cs: Click on item and show details on the right panel