Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+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.