예제 #1
0
 public void GetAllGamesToTheCurrentUser()
 {
     LootLockerSDKAdminManager.GetAllGamesToTheCurrentUser((response) =>
     {
         if (response.success)
         {
             Debug.LogError("Successful got all games: " + response.text);
         }
         else
         {
             Debug.LogError("failed to get all games: " + response.Error);
         }
     });
 }
예제 #2
0
 public void PopulateGames()
 {
     Repaint();
     Debug.Log("Getting games..");
     LootLockerSDKAdminManager.GetAllGamesToTheCurrentUser((response) =>
     {
         if (response.success)
         {
             gamesResponse = response;
             currentView   = LootLockerView.Games;
             Repaint();
             Debug.Log("Successful got all games: " + response.text);
         }
         else
         {
             Debug.LogError("failed to get all games: " + response.Error);
         }
     });
 }