I’m pondering over the issue of a user switching between multiple Google accounts set on his or her device, and the PlayerPrefs staying as they are. This can be easily done by the user from, say, the Leaderboards settings when it is invoked. How can this be handled? Is there are way to store PlayerPrefs for a particular Google account, and then retrieve them later when the same account is detected?
I believe this is an implementation detail, but on Android, PlayerPrefs are stored using SharedPreferences.
SharedPreferences can be retrieved by supplying a “name” parameter, so technically, you could request a different storage per Google account. I don’t believe this is how Unity does it however.
So, to your question - I think that you will get the same data back even for different user accounts.
If you need to store the data per user account, you could use other APIs or mechanisms to achieve that.
*by implementation detail - i mean that there’s no “contract” that this will always be the case. The PlayerPrefs class is currently “backed” by this mechanism on Android.