public void GettingAllMapsToAGAme() { LootLockerSDKAdminManager.GettingAllMapsToAGame(gameIDToGetMaps, (response) => { if (response.success) { Debug.LogError("Successful got all maps: " + response.text); } else { Debug.LogError("failed to get all maps: " + response.Error); } }); }
public void PopulateMaps() { Repaint(); Debug.Log("Getting maps.."); mapsResponse = null; currentView = LootLockerView.Loading; LootLockerSDKAdminManager.GettingAllMapsToAGame(activeGameID, (response) => { if (response.success) { mapsResponse = response; currentView = LootLockerView.Maps; Repaint(); Debug.Log("Successful got all maps: " + response.text); } else { Debug.LogError("failed to get all maps: " + response.Error); } }); }