title: There is no argument that corresponds to the required formal parameter constructor help needed
body: <p>Having trouble using a constructor in a class that inherits from a base class</p>
  <pre><code>    public class PlayerSpell : ScriptableObject
  {
      protected P_Base player;
  
      public string spellName = &quot;base&quot;;
      public int cost = 0;
      public string category = &quot;utility&quot;;
      public ScriptableObject spellData;
      public PlayerState spellState;
  
      [Header(&quot;Allowed Classes&quot;)]
      public int[] classes;
  
      public PlayerSpell(PlayerState spellState, string spellName, int cost, string category, PlayerSpell spellData, int[] classes)
      {
  
      }
  }
  </code></pre>
  <p>Simple constructor in the base class above.</p>
  <pre><code>public class DashSpell : PlayerSpell
  {
  
      public DashSpell(PlayerState spellState, string spellName, int cost, string category, PlayerSpell spellData, int[] classes)
      {
          this.spellState = spellState;
          this.spellName = spellName;
          this.cost = cost;
          this.category = category;
          this.spellData = spellData;
          this.classes = classes;
      }
  
  }
  </code></pre>
  <p>Trying to store the values of the scriptable object in said constructor
  Getting the error &quot;There is no argument that corresponds to the required formal parameter 'spellState' of PlayerSpell.PlayerSpell(...)</p>