- Home /
Question by
siddharth3322 · Apr 08, 2019 at 10:10 AM ·
iosappleleaderboards
How to load multiple leaderboards in iOS
If I have one leaderboard created then I have this code to load the leaderboard.
private void DoLeaderboard()
{
m_Leaderboard = Social.CreateLeaderboard();
m_Leaderboard.id = leaderboardID; // YOUR CUSTOM LEADERBOARD NAME
m_Leaderboard.LoadScores(result => DidLoadLeaderboard(result));
}
But what if I have 3 leaderboards to load? what code is updated for this purpose?
Comment