I've looked at other threads about this and tried to follow their advice, but to no avail; every time I try to open Game Center on ios, is just starts on a big long list of all of the leaderboards in the game.
At the top of my script:
import UnityEngine.SocialPlatforms;
import UnityEngine.SocialPlatforms.GameCenter;
import UnityEngine.SocialPlatforms.GameCenter.GameCenterPlatform;
And the code to open the leaderboard:
GameCenterPlatform.ShowLeaderboardUI(leaderBoardName, TimeScope.AllTime);
(The leaderBoardName is correct; before this I was trying to do a custom UI thing and it pulled names correctly.)
Please help! The game is live and I really want to update it soon.
↧