I’ve got a store page in my app that lists a series of cards. I’d like these to appear in a particular order, but take advantage of the automatic spacing of the vertical layout group. The cards are of varying heights, but take up the entire width of the scroll view.
My problem is that every time I place the cards in the correct order in the hierarchy (1, 2, 3, 4), the cards are then automatically reordered in the wrong order (3, 2, 4, 1) after I play the game or reopen the scene. I can’t figure out what is causing this to happen, but it always reorders them in the same way. It’s not ordering them by size, id, or alphabetical though, so there seems to be some other arbitrary sort in use.
Is there a way to manually order items in a vertical layout group, or will it always order cards in some arbitrary way? I realize I might be able to get this to work through a script, but the artists on my team would prefer they be able to control the order in the editor hierarchy.
I’m running Unity 2019.2.15 on Win 10 64-bit