Пример #1
0
 private static void OnGetSpaceListResponse(bool error, RestGetSpaceListResponseData responseData)
 {
     if (error)
     {
         Debug.Log("[Error] Retrieving Space list failed.");
     }
     else
     {
         Debug.Log("[Completed Process: Fetch Space List] ");
     }
 }
Пример #2
0
    void RefreshSpacesResponse(bool error, RestGetSpaceListResponseData responseData)
    {
        if (error)
        {
            Debug.Log("Spaces List request failed.");
        }
        else
        {
            spaces = responseData.spaces;
            //spaces = responseData.spaceInfoList;

            //PlayerPrefs.SetString(Spaces.Core.Constants.SPACES_LIST, Spaces.Core.JSONTools.LoadToString(spaces));
            //PlayerPrefs.Save();
        }
    }