Check out example codes for "unity scriptable object as base class". It will help you in understanding the concepts better.

Code Example 1

public enum AttributeType 
 	Elemental,   Category

public class abstract Attribute : scriptableObject {  
   protected AttributeType attribute;
   public Attribute { get { return attribute; }
  //Children have to override this.   public abstract void effect(GameObject _target); }

Learn ReactJs, React Native from