Set up Scroll Cells
masterCells used in the loop scroll rect must meet two requirements:
- Layout Properties: Cells need preferred width and height for layout calculation. The easiest way is to attach a
Layout Elementcomponent and set the preferred width and height. - Index Callback: Each cell must have a script attached that implements a method with the signature
void ScrollCellIndex (int idx)to receive its index updates.