public void LoadLeaderboardsMetadata(Action <UM_LoadLeaderboardsMetaResult> callback)
        {
            var leaderboards = AN_Games.GetLeaderboardsClient();

            leaderboards.LoadLeaderboardMetadata(false, (result) => {
                UM_LoadLeaderboardsMetaResult um_result;
                if (result.IsSucceeded)
                {
                    List <UM_iLeaderboard> um_leaderboards = new List <UM_iLeaderboard>();
                    foreach (var leaderboard in result.Leaderboards)
                    {
                        var um_leaderboardMetda = new UM_LeaderboardMeta(leaderboard.LeaderboardId, leaderboard.DisplayName);
                        um_leaderboards.Add(um_leaderboardMetda);
                    }

                    um_result = new UM_LoadLeaderboardsMetaResult(um_leaderboards);
                }
                else
                {
                    um_result = new UM_LoadLeaderboardsMetaResult(result.Error);
                }

                callback.Invoke(um_result);
            });
        }
 public void LoadLeaderboardsMetadata(Action <UM_LoadLeaderboardsMetaResult> callback)
 {
     ISN_GKLeaderboard.LoadLeaderboards((result) => {
         UM_LoadLeaderboardsMetaResult um_result;
         if (result.IsSucceeded)
         {
             List <UM_iLeaderboard> um_leaderboards = new List <UM_iLeaderboard>();
             foreach (var leaderboards in result.Leaderboards)
             {
                 var um_leaderboardMetda = new UM_LeaderboardMeta(leaderboards.Identifier, leaderboards.Title);
                 um_leaderboards.Add(um_leaderboardMetda);
             }
             um_result = new UM_LoadLeaderboardsMetaResult(um_leaderboards);
         }
         else
         {
             um_result = new UM_LoadLeaderboardsMetaResult(result.Error);
         }
         callback.Invoke(um_result);
     });
 }