示例#1
0
    public void GetLeaderBoard(string Id)
    {
        bool success = FuelSDK.GetLeaderBoard(Id);

        if (success == true)
        {
            //Everything is good you can expect your data in the event callback
        }
    }
示例#2
0
    public void GetLeaderBoards()
    {
        // request information on the leaderboards that
        // the player is eligible for

        if (m_leaderBoardIDs.Count == 0)
        {
            Debug.Log("GetLeaderBoards - no leaderboard events to retrieve");
            return;
        }

        foreach (string leaderBoardID in m_leaderBoardIDs)
        {
            FuelSDK.GetLeaderBoard(leaderBoardID);
        }
    }
示例#3
0
 public void GetLeaderBoard(string boardID)
 {
     Debug.Log("FuelSDKGrooveIntegration - GetLeaderBoard. boardID: " + boardID);
     FuelSDK.GetLeaderBoard(boardID);
 }