Imagine you have a platform game and in it are collecting extra puzzle pieces. Say the puzzle is 5×5 which means you’be collecting 25 pieces.
What is the easiest way to save if each piece has been collected? That would be 25 unique playerprefs to keep track of.
Is there an efficient way to save all of these values without saying ‘piece1’ ‘piece2’ ‘piece3’ ‘pieceX’?
This is only a hypothetical example so I do not have any code along side it.