title: Is there a way to use a class as an array? (Unity C#)
body: <p>So i have a class with a bunch of variables:</p>
  <pre><code>class DialogueBase
  {
          [SerializeField] private string input;
          [SerializeField] private Color textColor;
          [SerializeField] private float delay;
  }
  </code></pre>
  <p>And I want to have another script with an array of this class so that I can add a bunch of dialogues and edit each one in the editor.
  So for example, I need to have 3 dialogues in a single dialogue, so I make the lenght of the array to 3 and edit each value in the editor.</p>
  <p>Is it possible to do this? Or am I being dumb?</p>