PlayerPrefsX - Is there a way to store values for the same key?


Like i said in the title… I need to have more then one key with the same name, for example:

First Key: A
Value: 1,2,3,4

Second Key: A
Value: 6,3,1,8

Third Key: A
Value: 12,42,5,1

The values are going to be stored into an int array.

If you’re talking about PlayerPrefsX from UnifyCommunity then no. The values are constructed in a Hashtable which requires that there aren’t any duplicate keys. The keys are hashed/calculated for fast look up. So no and if you try you will end up getting a Duplicate Key exception or something similar.