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); } }); }
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); } }); }