예제 #1
0
 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);
         }
     });
 }
예제 #2
0
파일: Maps.cs 프로젝트: Hertzole/unity-sdk
 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);
         }
     });
 }