Skip to main content

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

Thank you for your reply,

Yup, you're pretty much bang on. Do you think that I should try edit the Leaderboard so it can update if it receives the Reply after the Leaderboard Screen has been opened automatically? I'm not 100% if that will cause more problems or not.

(+1)

That shouldn't be too hard actually. Can do it with coroutines, I am pretty sure:

IEnumerator RenderLeaderboardEnumerator() { 
   // enable the loading spinner
    while (leaderboard_hasn't_loaded) {
        // update the loading spinner() * Time.deltaTime or something idk;
        yield return new WaitForEndOfFrame();
    }
    // disable the loading spinner
    RenderLeaderboard() ;;; 
}
...
    // in your OnEnable or wherever you are fetching:     StartCoroutine(RenderLeaderboardEnumerator());


Something like that, I imagine. You will have to fill in a lot of the blanks though

Thank you very much for the help! I'll try and work something like this into the game and release an update in a few hours.