title: Unity - display Json array from server
body: <p>I'm making a quiz game and I'm stuck at this problem that is probably easy to do.<br>
  I have this script, which gets JSON data from server and separates it:</p>
  
  <pre class="lang-cs prettyprint-override"><code>using System.Collections;
  using UnityEngine;
  using UnityEngine.UI;
  using UnityEngine.Networking;
  using System;
  using TMPro;
  
  [Serializable]
  public class RootObject
  {
      public Results[] Result;
  }
  
  [Serializable]
  public class Results
  {
      public string id;
      public string question;
      public string answer1;
      public string answer2;
      public string answer3;
      public string answer4c;
  }
  
  public class DataLoader : MonoBehaviour
  {
      public PickPlace pickplace;
      public string URLBase;
  
      public void GetQustion()
      {
          URLBase = pickplace.url;
          StartCoroutine(Run());
      }
  
      IEnumerator Run()
      {
          var req = CreateReturnPlayerDataRequest();
          yield return req.SendWebRequest();
          var results = HandleReturnPlayerDataRequest(req);
          // Izvada konsolē saņemtos datus
          Debug.Log("Quesiton: " + results.Result[0].question + " Answer1: " + results.Result[0].answer1 + " Answer2: " + results.Result[0].answer2 + " Answer3: " + results.Result[0].answer3 + " Answer4: " + results.Result[0].answer4c);
  
      }
  
      public UnityWebRequest CreateReturnPlayerDataRequest()
      {
          var req = UnityWebRequest.Get(URLBase);
          return req;
      }
  
      public static RootObject HandleReturnPlayerDataRequest(UnityWebRequest req)
      {
          if (req.isNetworkError)
          {
              Debug.LogError("Failed to POST /player/register");
              return new RootObject();
          }
          var results = JsonUtility.FromJson&lt;RootObject&gt;("{\"Result\":" + req.downloadHandler.text + "}");
          return results;
      }
  
  }
  </code></pre>
  
  <p>My question is:<br>
  How can I call out array in, for example my <code>GameManager</code> script and call out separated data, so that I can put for example question text from JSON data into Text object and all 4 answers to buttons?</p>