title: Updating an Enum for a ScriptableObject based on another enum selection?
body: <p>Basically, I am creating a <code>ScriptableObject Skill</code> and I want to restrict it to only certain character types. However, I can't quite figure out how to go about doing it. I want to avoid having a single enum for all the classes unless it is unavoidable. I will try and show you what I mean below.</p>
  
  <pre><code>public class Skills : ScriptableObject {
  
  public string Description;
  public Sprite Thumbnail;
  public int LevelNeeded;
  public int XPNeeded;
  
  ClassRestrictions classRestrictions;
  
  }
  
  public enum ClassRestrictions
  { None, Warrior, Rogue, Mage };
  </code></pre>
  
  <p>If in the editor I select <code>Warrior</code> I would want another enum to appear and ask about if I want to restrict it to a certain subtype. Something like this:</p>
  
  <pre><code>public enum WarriorSubClassRestrictions
  {None, Barbarian, Knight, Paladin};
  </code></pre>
  
  <p>However, if I selected the Rogue type I wouldn't want the Warrior Enum to appear. Is there a way to do this in the Editor inside of my ScriptableObject class?</p>