Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Anyhow, I don't think it's the GetMine() method I need, it's the GetPersonalEntry() method. Took me a while, but I finally figured out how to use it.


Incidentally, is there a boolean I can call if the Leaderboard fails to load? I.e. if the player is offline. I just want to use it to display a message if the leaderboard fails to load (I see that the servers for it go down frequently as well).

Hey there, Silver Fang, every function has an optional callback which will return the error message whenever an error occurs, please see the documentation:

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

I mean, to convert it into a boolean within my own script? So I can add something like:

if (loadFail == true)

    failMessage.SetActive(true);

Here's an example usage:

https://github.com/danqzq/unity-leaderboard-creator#displaying-entries-in-a-list