title: How to show the following KeyValuePair in the unity editor(so that it is editable)
body: <p>In a bitesize: I have a KeyValuePair that I want to display and make editable in the Inspector.</p>
  
  <p>I have the following implementing class of my custom Key value pair.</p>
  
  
  
  <pre class="lang-c# prettyprint-override"><code>using UnityEngine;
  namespace Unit.Properties
  {
      public class ClassificationPropertySuperClass : MonoBehaviour, IClassificationUnitProperty
      {
          [SerializeField]
          KeyValuePair&lt;UnitClassifications, float&gt; value;
  
          public KeyValuePair&lt;UnitClassifications, float&gt; GetComponentValue()
          {
              return value;
          }
  
          public void SetComponentValue(KeyValuePair&lt;UnitClassifications, float&gt; value)
          {
              this.value = value;
          }
      }
  }
  </code></pre>
  
  <p>And just for information this is the custom KeyValuePair class I made</p>
  
  <pre class="lang-c# prettyprint-override"><code>[System.Serializable]
  public class KeyValuePair&lt;TKey, TValue&gt;
  {
      public KeyValuePair()
      {
      }
  
      public KeyValuePair(TKey key, TValue value)
      {
          Key = key;
          Value = value;
      }
  
      public TKey Key { get; set; }
      public TValue Value { get; set; }
  }
  </code></pre>
  
  <p>Now the core of the issue is that I cannot edit these values in the inspector. For the designers this is an absolute must. I would love to create a editor script too add this functionality but I get kinda lost when it comes to those. Anyone willing to help me out?</p>
  
  <p>Just for reference this is how they appear now in the Inspector</p>
  
  <p><a href="https://i.stack.imgur.com/8HmyM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8HmyM.png" alt="enter image description here"></a></p>
  
  <p>Any help is much appreciated!</p>