title: Best way to store imported data in variables
body: <p>I'm creating an application in Unity where I import a JSON database from the web at runtime and display the info in a AR environment.</p>
  <p>I've firstly created a storage class named &quot;Collezione&quot; (Collection in Italian) for that porpuse only as I tried to keep everything as organized as possible.
  The collection has a name and a list of showcases, each one with an identifier and a list of objects:</p>
  <pre><code>using System.Collections.Generic;
  using UnityEngine;
  
  public class Collezione : MonoBehaviour
  {
      public string nome;
      public List&lt;Vetrina&gt; collezione;
  }
  
  public class Vetrina
  {
      public string nome;
      public List&lt;ObjectClass&gt; vetrina;
  }
  
  public class ObjectClass
  {
      public string id;
      public Vector3 posizione;
      public string denominazione;
      public string materiale;
      public string forma;
      public string cronologia;
      public string da;
      public string a;
  }
  </code></pre>
  <p>Since it's a MonoBehaviour class, I need to attach it to an object and instantiate its reference in every other script. I was wondering if there was a more efficient way to do this. I tried to convert it in a static class and it seems to work, but I wanted to know if there is a better solution.<br>
  Here is the static version.</p>
  <pre><code>public static class Collezione
  {
      public static string nome;
      public static List&lt;Vetrina&gt; collezione;
  }
  
  public class Vetrina
  {
      public string nome;
      public List&lt;ObjectClass&gt; vetrina;
  }
  
  public class ObjectClass
  {
      public string id;
      public Vector3 posizione;
      public string denominazione;
      public string materiale;
      public string forma;
      public string cronologia;
      public string da;
      public string a;
  }
  </code></pre>