GameObject automatically moves up when upgrade is purchased.

Hello, I have a list of 4 gameobjects. They are all upgrades, so for when I click the first one, the gameobject is destroyed, great, but I want the rest of the three upgrades to automatically move up after I have bought an upgrade. Kind of like the upgrade system in Adventure Capitalists. Any ideas? Thanks, nightdev.

If you are using some layout group, it should automatically readjust if you delete some items

You could use a queue to achieve this. Each index in the queue could tell what the objects position should be and you could dequeue an entry when its clicked.