Display ScriptableObjects in an array in inspector

I have a gameobject that has an array of scriptable objects, and I would like to expose their properties in the inspector in a manner similar to the array of custom objects in a GUISkin.

I can see the objects in the array in the inspector, but I can’t edit their properties. Is there something else I need to set up?

Are you using C#? If so, have you applied the Serializable attribute to the class?

Yes on C#, no on Serializable. They are simple extensions of ScriptableObject with a few properties added.

Adding the Serialziable attribute doesn’t seem to expose a ScriptableObject’s variables to the inspector as it would with an ordinary class. Unless you need the OnEnable/OnDisable functions, it may be better for you to use a class not derived from ScriptableObject:-

[System.Serializable]
public class XXX {
   // Variables to be visible in inspector.
}

Cool, that works.

Thanks!