title: Unity C# Inherited Class Header
body: <p>So I'm working on a project with some .cs files I do not want to ever modify as it's being updated by someone else.</p>
  
  <p>So I'm inheriting from the class. In the base class is a header:</p>
  
  <pre><code>public partial class BasePlayer : MonoBehaviour {    
      [Header("Stats")]
      [SyncVar] public int stat1 = 0;
      [SyncVar] public int stat2 = 0;
  }
  </code></pre>
  
  <p>In my class I want to be able to add in another var to the same header. How would I go about doing this?</p>
  
  <pre><code>public partial class MyPlayer : BasePlayer {    
     [SyncVar] public int stat3 = 0;
  }
  </code></pre>
  
  <p>And I'm aware it's not very practical to do it this way but I really can't touch the base class.</p>