I try to get so that I can from a custom editor drag scripts (classes) in and store it in an array/list. The classes I try to add is all derived from a class called Race which is in it’s turn derived from ScriptableObject.
EditorGUILayout.ObjectField("New Race", null, typeof(ScriptableObject), false);
I have tried with both typeOf(SciptableObject) and typeOf(Race) but none of them let me drag any scripts in.