Am I blind, or does this important documented feature not exist?

The Game Center specific leaderboard UI function, documented here, doesn’t show up in MonoDevelop and causes an error within Unity.

I am attempting to access it as follows:

GameCenterPlatform gcp = Social.Active as GameCenterPlatform;
if (gcp != null) gcp.ShowLeaderboardUI(boardName, TimeScope.AllTime);

Am I being a noob and accessing it incorrectly, or does this not behave as documented?

I’m aware that the user can browse to the score board themselves, but telling someone to go find it themselves isn’t exactly cool.

Any pointers?

Cheers!

Edit: I’m using Unity 3.5.6, and it now occurs to me that this could be a recent addition in the 4.0 line?

You can always look in your local documentation to see if it exists for that version or not. Anyway, GameCenterPlatform: “When using the GameCenterPlatform class in C# you need to include the UnityEngine.SocialPlatforms.GameCenter namespace.” (I might add that you need to do that in Unityscript as well.)

–Eric

I definitely had the namespace included. Looking at the local docs that function doesn’t exist, so I guess it was introduced in a newer version.