Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Okay, I have another question: there is a method called GetPersonalEntry. What will it return if the player hasn't uploaded any entry and how to check so?

Hi Broi, I was having an issue with GetPersonalEntry so I've stopped using it. Not sure what it would call if you haven't uploaded anything. Probably a null value or an error. I'd say just call it and see. You can always delete your test entry from the leaderboard and check. You might have to clear PlayerPrefs too but not sure on that. If you have an entry uploaded, for each Entry returned on looping through, you can call the function called IsMine() to see if it is your entry. I think a GUID is assigned on the server side and then Daniel persists this locally using PlayerPrefs, but I'm not 100% sure on that. You can see this in one of the scripts. 

PlayerPrefs.SetString(GUID_KEY, guid);

I'm having problems with it too. It keeps adding new records instead of updating the original one.

(1 edit)

Hey guys, I have released a new update, along with a new documentation that should cover a majority of the functionalities that are provided by the tool:

https://github.com/danqzq/unity-leaderboard-creator